summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCrestwave2019-02-14 13:07:32 +0800
committerCrestwave2019-02-14 13:07:32 +0800
commit872f8092ca8bab91f62529dda04912ec35d407a6 (patch)
tree82356845a0c07d130c41c0a76fe5f01957b01bc4 /PKGBUILD
downloadaur-872f8092ca8bab91f62529dda04912ec35d407a6.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eda830848f0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Crestwave <crest.wave@yahoo.com>
+
+pkgname=birch-git
+pkgver=r32.c46909f
+pkgrel=1
+pkgdesc="An IRC client written in pure bash"
+arch=('any')
+url="https://github.com/dylanaraps/birch"
+license=('MIT')
+makedepends=('git')
+source=("git+${url}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/birch"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/birch"
+ make DESTDIR="$pkgdir" install
+}