summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD40
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a1db46a1bb7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = asignify
+ pkgdesc = Yet another signify tool
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/vstakhov/asignify
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = binutils
+ makedepends = gcc
+ makedepends = make
+ makedepends = pkg-config
+ depends = openssl
+ source = asignify-1.0.tar.gz::https://codeload.github.com/vstakhov/asignify/tar.gz/1.0
+ sha256sums = 81272713900b51049633139549181fa23e56eeb580e0ea0325546d2fe7ca503d
+
+pkgname = asignify
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b02f8cd4954
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=asignify
+pkgver=1.0
+pkgrel=1
+pkgdesc="Yet another signify tool"
+arch=('i686' 'x86_64')
+depends=('openssl')
+makedepends=('binutils'
+ 'gcc'
+ 'make'
+ 'pkg-config')
+url="https://github.com/vstakhov/asignify"
+license=('BSD')
+source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/vstakhov/$pkgname/tar.gz/$pkgver)
+sha256sums=('81272713900b51049633139549181fa23e56eeb580e0ea0325546d2fe7ca503d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ msg2 "Building..."
+ ./autogen.sh
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib/asignify \
+ --sysconfdir=/etc \
+ --sharedstatedir=/usr/share/asignify \
+ --localstatedir=/var/lib/asignify \
+ --with-gnu-ld \
+ --enable-openssl
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ msg2 'Installing...'
+ make DESTDIR="$pkgdir" install
+}