summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2016-04-24 15:23:00 +0200
committeraksr2016-04-24 15:23:00 +0200
commitb79d6a5f1612b8ac26fb70c91b866fcd4c51b82e (patch)
tree661aa27e06d3d83e0e6366250d5482a0c51f7c59
downloadaur-skalibs-git.tar.gz
Start.
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD42
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..97caf9fab21
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sun Apr 24 13:23:00 UTC 2016
+pkgbase = skalibs-git
+ pkgdesc = A general-purpose low-level C library.
+ pkgver = 2.3.10.0.r5.g70697ef
+ pkgrel = 1
+ url = http://www.skarnet.org/software/skalibs/
+ arch = i686
+ arch = x86_64
+ license = ISC
+ makedepends = git
+ provides = skalibs
+ conflicts = skalibs
+ source = skalibs-git::git+git://git.skarnet.org/skalibs
+ md5sums = SKIP
+
+pkgname = skalibs-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..33c6a17af74
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: aksr <aksr at t-com dot me>
+pkgname=skalibs-git
+pkgver=2.3.10.0.r5.g70697ef
+pkgrel=1
+epoch=
+pkgdesc="A general-purpose low-level C library."
+arch=('i686' 'x86_64')
+url="http://www.skarnet.org/software/skalibs/"
+license=('ISC')
+groups=()
+depends=('')
+makedepends=('git')
+optdepends=()
+checkdepends=()
+provides=('skalibs')
+conflicts=('skalibs')
+replaces=()
+backup=()
+options=()
+changelog=
+install=
+source=("$pkgname::git+git://git.skarnet.org/skalibs")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//'
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr --datadir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir/" install
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
+}
+