diff options
author | FabioLolix | 2018-12-29 18:08:13 +0100 |
---|---|---|
committer | FabioLolix | 2018-12-29 18:08:13 +0100 |
commit | 3131e601de28bbac2aca0812719bb31de85e2376 (patch) | |
tree | 011db02afdf3a5f7abcbada1dd63709abd507fee /PKGBUILD | |
parent | 257413821718e24ed6b3c26b620ca0c0a214df6c (diff) | |
download | aur-3131e601de28bbac2aca0812719bb31de85e2376.tar.gz |
Revision
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -1,28 +1,29 @@ -# Maintainer: Janne Heß <jannehess@gmail.com> +# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> +# Contributor: Janne Heß <jannehess@gmail.com> pkgname=birtty-git -pkgver=1235e3b +pkgver=18.06.r0.gb693f8b pkgrel=1 +epoch=1 pkgdesc="Try not to crash that bird" -url="https://github.com/vain/birtty" -license=("custom:PIZZA-WARE LICENSE") -makedepends=("gcc" "make") -source=("git+https://github.com/vain/birtty") +arch=(x86_64 i686 arm armv6h armv7h aarch64) +url="https://www.uninformativ.de/git/birtty/file/README.html" +license=(MIT) +source=("git+https://www.uninformativ.de/git/birtty.git") sha512sums=('SKIP') -arch=("i686" "x86_64") pkgver() { - cd birtty - git describe --always + cd "${srcdir}/birtty" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "${srcdir}/birtty" - make birtty + cd "${srcdir}/birtty" + make } package() { - cd "${srcdir}/birtty" - install -Dm755 birtty "${pkgdir}/usr/bin/birtty" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/birtty/LICENSE" + cd "${srcdir}/birtty" + install -Dm755 birtty "${pkgdir}/usr/bin/birtty" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" } |