summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e75b4774f72
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Evan M Jones <evanjones4040@gmail.com>
+pkgname=dlof
+pkgver=1
+pkgrel=1
+epoch=1
+pkgdesc="A dead simple unfolder -- opposite of fold."
+arch=('any')
+url="https://github.com/mini-eggs/${pkgname}"
+license=('MIT')
+provides=($pkgname)
+conflicts=($pkgname)
+makedepends=('git' 'gcc')
+source=("git+https://github.com/mini-eggs/dlof.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd $pkgname
+ make
+ install -D -m644 license.txt "$pkgdir/usr/share/licenses/dlof/LICENSE"
+ install -D -m755 dlof "$pkgdir/usr/bin/$pkgname"
+}
+