summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Doppler2016-01-09 00:55:27 +0100
committerSimon Doppler2016-01-09 00:55:27 +0100
commitae59632082d62fe46105268c31425b756dead291 (patch)
treefb526e3fa5aa0456cc4cac2dbf936b82b56a71b1
downloadaur-libdop-git.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD32
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..96790fee09e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Fri Jan 8 23:54:58 UTC 2016
+pkgbase = libdop-git
+ pkgdesc = Utilities library
+ pkgver = r2.09cc0d7
+ pkgrel = 1
+ url = http://github.com/dopsi/libdop
+ arch = x86
+ arch = x86_64
+ license = GPL
+ depends = glibc
+ provides = libdop
+ conflicts = libdop
+ source = git://github.com/dopsi/libdop
+ sha1sums = SKIP
+
+pkgname = libdop-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..85322abedfe
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+libdop-git-r2.09cc0d7-1-x86_64.pkg.tar.xz
+libdop/
+pkg/
+src/
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