summaryrefslogtreecommitdiff
path: root/pcr/lua-cyrussasl/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-17 18:01:55 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-17 18:01:55 -0500
commit98a7e894d8347b242611c2cfd44bdb0f81576080 (patch)
tree38c1039ea252fee21d557d1846866d55f7eb1749 /pcr/lua-cyrussasl/PKGBUILD
parent0174f5578fd28a78c48e99e1730fdae27c0fdb1b (diff)
downloadabslibre-98a7e894d8347b242611c2cfd44bdb0f81576080.tar.gz
abslibre-98a7e894d8347b242611c2cfd44bdb0f81576080.tar.bz2
abslibre-98a7e894d8347b242611c2cfd44bdb0f81576080.zip
Adding lua-ldap and lua-cyrussasl to pcr
Diffstat (limited to 'pcr/lua-cyrussasl/PKGBUILD')
-rw-r--r--pcr/lua-cyrussasl/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/lua-cyrussasl/PKGBUILD b/pcr/lua-cyrussasl/PKGBUILD
new file mode 100644
index 000000000..bc2fa8a32
--- /dev/null
+++ b/pcr/lua-cyrussasl/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Dwayne Bent <dbb.1@liqd.org>
+
+pkgname=lua-cyrussasl
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="Lua bindings for Cyrus SASL library."
+arch=('i686' 'x86_64' 'mips64el')
+url="http://github.com/JorjBauer/lua-cyrussasl"
+license=('BSD')
+makedepends=('lua51' 'libsasl')
+source=(
+ "lua-cyrussasl-$pkgver.tar.gz::https://github.com/JorjBauer/lua-cyrussasl/tarball/v$pkgver"
+ "lua-cyrussasl.patch"
+)
+md5sums=('40c94c06441e1e47640d81b125742969'
+ '838d383edc30f059ddae44cd564e0b82')
+
+build() {
+ cd $srcdir/*-lua-cyrussasl-*
+ patch -Np1 -i ${srcdir}/lua-cyrussasl.patch
+ make
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/lib/lua/5.1"
+ mkdir -p "$pkgdir/usr/share/licenses/lua-cyrussasl"
+
+ cd $srcdir/*-lua-cyrussasl-*
+
+ make DESTDIR=${pkgdir} install
+ install -m644 "LICENSE" "$pkgdir/usr/share/licenses/lua-cyrussasl/LICENSE"
+}
+