summaryrefslogtreecommitdiffstats
path: root/simple-scan-3.12-bin/PKGBUILD
blob: 7c97496b5872223090bf7cca2609853c108fe749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
pkgname=simple-scan-3.12-bin
pkgver=3.12.0
pkgrel=2
pkgdesc="Simple scanning utility before the CSD changes (3.12 archive.org binary package)"
arch=('x86_64')
url="https://gitlab.gnome.org/GNOME/simple-scan"
license=('GPL')
depends=(
  colord-sane
  dconf
  gtk3
  libgusb
  libhandy
  sane
)
makedepends=(
  meson
  vala
  yelp-tools
  tar
)
provides=('simple-scan')
conflicts=('simple-scan')
source=(
  "${pkgname%-3.12-bin}-${pkgver}-${pkgrel}-${arch}.pkg.tar.xz::https://archive.org/download/archlinux_pkg_simple-scan/${pkgname%-3.12-bin}-${pkgver}-${pkgrel}-${arch}.pkg.tar.xz"
)
sha256sums=('fd1738aa918bb595726e1aa2b1913fef216f48db10a52fe7d50a5faa9cb448d9')

prepare() {
  tar --pax-option=delete=SCHILY.fflags -xJf "${srcdir}/${pkgname%-3.12-bin}-${pkgver}-${pkgrel}-${arch}.pkg.tar.xz" -C "${srcdir}"
}

package() {
  cp -r "${srcdir}/usr" "${pkgdir}"
}