blob: 0a6cff8e567fd5793bf2c41a0ef4c3c5a82c2ba0 (
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
33
|
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
pkgname=aurtic
pkgver=0.5
pkgrel=1
pkgdesc='Download and extract source packages from AUR'
arch=('x86_64' 'i686')
url='https://github.com/xyproto/aurtic/'
license=('MIT')
makedepends=('go' 'git')
source=("git://github.com/xyproto/aurtic#tag=$pkgver")
md5sums=('SKIP')
prepare() {
cd "$pkgname"
GOPATH="$srcdir" go get -d
}
build() {
cd "$pkgname"
GOPATH="$srcdir" go build
}
package() {
cd "$pkgname"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|