blob: 69497ece8b1ba36c812c91dc97d3c57e0828104a (
plain)
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
|
# Maintainer: Thomas Kiss <thokis@gmail.com>
pkgname=sane-airscan-git
pkgver="0.9.17.r5.g59280c9"
pkgrel=1
pkgdesc='SANE - Apple AirScan (eSCL) driver'
url='https://github.com/alexpevzner/sane-airscan'
arch=('aarch64' 'x86_64')
license=('GPL2')
depends=('sane' 'libsoup')
makedepends=('ctags' 'git')
source=('git://github.com/alexpevzner/sane-airscan.git')
sha1sums=('SKIP')
conflicts=("sane-airscan")
provides=("sane-airscan")
pkgver() {
cd "sane-airscan"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "sane-airscan"
make
}
package() {
cd "sane-airscan"
make DESTDIR="$pkgdir" install
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}
|