summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSimon Doppler2016-01-09 00:55:27 +0100
committerSimon Doppler2016-01-09 00:55:27 +0100
commitae59632082d62fe46105268c31425b756dead291 (patch)
treefb526e3fa5aa0456cc4cac2dbf936b82b56a71b1 /PKGBUILD
downloadaur-libdop-git.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79ceaabe04c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Simon Doppler (dopsi) <dop.simon@gmail.com>
+pkgname=libdop-git
+pkgver=r2.09cc0d7
+pkgrel=1
+pkgdesc='Utilities library'
+arch=('x86' 'x86_64')
+url='http://github.com/dopsi/libdop'
+license=('GPL')
+provides=('libdop')
+conflicts=('libdop')
+depends=('glibc')
+source=('git://github.com/dopsi/libdop')
+sha1sums=('SKIP')
+
+_gitname=libdop
+
+pkgver() {
+ cd $_gitname
+ printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build () {
+ cd "$_gitname"
+ make
+}
+
+package() {
+ cd "$_gitname"
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+}
+
+# vim:ts=4:sw=4:expandtab