diff options
author | Kusoneko | 2022-09-21 03:59:18 -0400 |
---|---|---|
committer | Kusoneko | 2022-09-21 03:59:18 -0400 |
commit | 6e45385e78f27cdfdb0dda936ef95f8f50314bfd (patch) | |
tree | 28b3734e88f9ff361eb4c3070a65ddaef0d0a830 /PKGBUILD | |
download | aur-6e45385e78f27cdfdb0dda936ef95f8f50314bfd.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f0dccf9bb01d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Kusoneko <kusoneko@kusoneko.moe> + +pkgname=catgirl-git +pkgver=2.1.r1030.0b79737 +pkgrel=1 +pkgdesc="TLS-only terminal IRC client" +arch=('x86_64') +url="https://git.causal.agency/catgirl" +license=('GPL3') +depends=('libretls' 'ncurses') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("${pkgname%-git}::git+https://git.causal.agency/${pkgname%-git}.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-git}" + printf "%s.r%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${pkgname%-git}" + ./configure --prefix=/usr + make all +} + +package() { + cd "$srcdir/${pkgname%-git}" + make DESTDIR="$pkgdir/" install +} |