diff options
author | gbr | 2021-04-08 17:11:40 -0300 |
---|---|---|
committer | gbr | 2021-04-08 17:11:40 -0300 |
commit | 30ab4cbce24fb8b8b4e1ecf70771183e246bd346 (patch) | |
tree | 8812d564dddb4b9abb2b3f850af33c7ec2e1bf3d | |
parent | ec6edd2340dd1a4c77acec10fa49ae3fb4b05273 (diff) | |
download | aur-30ab4cbce24fb8b8b4e1ecf70771183e246bd346.tar.gz |
meta: add git to makedepends
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 7 insertions, 6 deletions
@@ -1,10 +1,11 @@ pkgbase = twittuh-git pkgdesc = Small Go program to make RSS/ATOM/JSON feeds from Twitter timelines - pkgver = r89.ef45111 + pkgver = r100.e1bd11b pkgrel = 1 url = https://github.com/derat/twittuh arch = x86_64 license = BSD + makedepends = git makedepends = go depends = chromium source = twittuh::git+https://github.com/derat/twittuh.git#branch=master @@ -1,14 +1,14 @@ # Maintainer: gbr <gbr@protonmail.com> _pkgname=twittuh pkgname=twittuh-git -pkgver=r89.ef45111 +pkgver=r100.e1bd11b pkgrel=1 pkgdesc='Small Go program to make RSS/ATOM/JSON feeds from Twitter timelines' arch=('x86_64') url='https://github.com/derat/twittuh' license=('BSD') depends=('chromium') -makedepends=('go') +makedepends=('git' 'go') source=("$_pkgname::git+https://github.com/derat/twittuh.git#branch=master") sha256sums=('SKIP') @@ -18,7 +18,7 @@ pkgver() { } build() { - cd "$srcdir/$_pkgname" + cd "$_pkgname" go build \ -o "$_pkgname" \ -trimpath \ @@ -30,12 +30,12 @@ build() { } check() { - cd "$srcdir/$_pkgname" + cd "$_pkgname" go test -v ./... } package() { - cd "$srcdir/$_pkgname" + cd "$_pkgname" install -Dm755 $_pkgname "$pkgdir"/usr/bin/$_pkgname install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" } |