aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-14 18:16:15 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:46 +0200
commitce21d978fca8b2e94207aa02e9a3aa7c145d9104 (patch)
tree19ac37f68096224c572426959471e4dcb9d2e4ef /PKGBUILD
downloadpkgbuilds-ce21d978fca8b2e94207aa02e9a3aa7c145d9104.tar.xz
yalc-git: initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..20b23af
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=yalc-git
+pkgver=0.0.1.rc1.r0.gb4d1c2d
+pkgrel=1
+
+pkgdesc='Yet Another LolCat'
+url='https://github.com/yabok/yalc'
+arch=('i686' 'x86_64')
+license=('GPL')
+
+makedepends=('git' 'cmake')
+
+source=('git+https://github.com/yabok/yalc')
+
+sha1sums=('SKIP')
+
+pkgver() {
+ cd yalc
+ git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd yalc
+ make
+}
+
+package() {
+ install -Dm755 yalc/yalc "$pkgdir"/usr/bin/yalc
+}