diff options
author | gbr | 2021-04-12 15:19:28 -0300 |
---|---|---|
committer | gbr | 2021-04-12 15:19:28 -0300 |
commit | b40e2e2916fa94d679c596b204e357e4f7bfc621 (patch) | |
tree | c6fa7444d3675ad8620583f4d384aa00357369d3 | |
parent | 30ab4cbce24fb8b8b4e1ecf70771183e246bd346 (diff) | |
download | aur-b40e2e2916fa94d679c596b204e357e4f7bfc621.tar.gz |
pkgbuild: general cleanup
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 19 insertions, 19 deletions
@@ -1,7 +1,7 @@ pkgbase = twittuh-git - pkgdesc = Small Go program to make RSS/ATOM/JSON feeds from Twitter timelines + pkgdesc = Make RSS, ATOM, or JSON feeds from Twitter timelines pkgver = r100.e1bd11b - pkgrel = 1 + pkgrel = 2 url = https://github.com/derat/twittuh arch = x86_64 license = BSD @@ -2,8 +2,8 @@ _pkgname=twittuh pkgname=twittuh-git pkgver=r100.e1bd11b -pkgrel=1 -pkgdesc='Small Go program to make RSS/ATOM/JSON feeds from Twitter timelines' +pkgrel=2 +pkgdesc='Make RSS, ATOM, or JSON feeds from Twitter timelines' arch=('x86_64') url='https://github.com/derat/twittuh' license=('BSD') @@ -14,28 +14,28 @@ sha256sums=('SKIP') pkgver() { cd "$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "$_pkgname" - go build \ - -o "$_pkgname" \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -modcacherw \ - -ldflags "-extldflags \"${LDFLAGS}\"" \ - . + cd "$_pkgname" + go build \ + -o "$_pkgname" \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-extldflags \"${LDFLAGS}\"" \ + . } check() { - cd "$_pkgname" - go test -v ./... + cd "$_pkgname" + go test -v ./... } package() { - cd "$_pkgname" - install -Dm755 $_pkgname "$pkgdir"/usr/bin/$_pkgname - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + cd "$_pkgname" + install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname" + install -Dm644 'LICENSE' "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" } |