summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/lua-cyrussasl/PKGBUILD33
-rw-r--r--pcr/lua-cyrussasl/lua-cyrussasl.patch35
-rw-r--r--pcr/lua-ldap/PKGBUILD28
-rw-r--r--pcr/lua-ldap/lualdap-1.1.0-lua51.patch25
-rw-r--r--pcr/trisquel-themes/PKGBUILD29
5 files changed, 150 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"
+}
+
diff --git a/pcr/lua-cyrussasl/lua-cyrussasl.patch b/pcr/lua-cyrussasl/lua-cyrussasl.patch
new file mode 100644
index 000000000..e119ccb3b
--- /dev/null
+++ b/pcr/lua-cyrussasl/lua-cyrussasl.patch
@@ -0,0 +1,35 @@
+--- lua-cyrussasl.orig/Makefile 2010-07-06 12:01:15.000000000 -0500
++++ lua-cyrussasl/Makefile 2013-02-17 17:07:33.896240233 -0500
+@@ -4,12 +4,18 @@
+ #LUAPATH=/usr/share/lua/5.1
+ #CPATH=/usr/lib/lua/5.1
+
++# Linux (Arch Linux)
++CFLAGS=-g -O2 -fpic -I/usr/include/lua5.1
++LDFLAGS=-O -shared -fpic -lsasl2
++LUAPATH=/usr/share/lua/5.1
++CPATH=/usr/lib/lua/5.1
++
+ # MacOS
+-CFLAGS=-g -Wall -O2
+-LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2
+-MACOSX_VERSION=10.5
+-LUAPATH=/usr/local/share/lua/5.1
+-CPATH=/usr/local/lib/lua/5.1
++#CFLAGS=-g -Wall -O2
++#LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2
++#MACOSX_VERSION=10.5
++#LUAPATH=/usr/local/share/lua/5.1
++#CPATH=/usr/local/lib/lua/5.1
+
+ #########################################################
+ #
+@@ -28,7 +34,7 @@
+ all: $(TARGET)
+
+ install: $(TARGET)
+- cp $(TARGET) $(CPATH)
++ cp $(TARGET) $(DESTDIR)$(CPATH)
+
+ clean:
+ rm -f *.o *.so *~
diff --git a/pcr/lua-ldap/PKGBUILD b/pcr/lua-ldap/PKGBUILD
new file mode 100644
index 000000000..5443f20ab
--- /dev/null
+++ b/pcr/lua-ldap/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=lua-ldap
+_pkgname=lualdap
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="Simple interface from Lua to an LDAP client"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.keplerproject.org/lualdap"
+license=('BSD')
+makedepends=('lua51' 'libldap')
+source=(http://files.luaforge.net/releases/$_pkgname/$_pkgname/LuaLDAP$pkgver/$_pkgname-$pkgver.tar.gz
+ lualdap-1.1.0-lua51.patch)
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ patch -Np1 -i ${srcdir}/lualdap-1.1.0-lua51.patch
+ make LUA_INC=/usr/include/lua5.1
+
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ make LUA_LIBDIR=${pkgdir}/usr/lib/lua/5.1 \
+ LUA_VERSION_NUM=510 \
+ install
+}
+
+md5sums=('5e104520c3f1333f38817a9fa1e76681'
+ 'a7583456b721584ef222d97e49823a81')
diff --git a/pcr/lua-ldap/lualdap-1.1.0-lua51.patch b/pcr/lua-ldap/lualdap-1.1.0-lua51.patch
new file mode 100644
index 000000000..07059ae08
--- /dev/null
+++ b/pcr/lua-ldap/lualdap-1.1.0-lua51.patch
@@ -0,0 +1,25 @@
+--- lualdap-1.1.0.orig/config 2006-07-23 20:42:06.000000000 -0500
++++ lualdap-1.1.0/config 2013-02-17 16:00:45.947143554 -0500
+@@ -1,10 +1,10 @@
+ # Installation directories
+ # System's libraries directory (where binary libraries are installed)
+-LUA_LIBDIR= /usr/local/lib/lua/5.0
++LUA_LIBDIR= /usr/lib/lua/5.1
+ # Lua includes directory
+-LUA_INC= /usr/local/include
++LUA_INC= /usr/include
+ # OpenLDAP includes directory
+-OPENLDAP_INC= /usr/local/include
++OPENLDAP_INC= /usr/include
+ # OpenLDAP library (an optional directory can be specified with -L<dir>)
+ OPENLDAP_LIB= -lldap
+
+@@ -13,7 +13,7 @@
+ #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
+
+ # Lua version number (first and second digits of target version)
+-LUA_VERSION_NUM= 500
++LUA_VERSION_NUM= 510
+ LIBNAME= $T.so.$V
+ COMPAT_DIR= ../compat/src
+
diff --git a/pcr/trisquel-themes/PKGBUILD b/pcr/trisquel-themes/PKGBUILD
new file mode 100644
index 000000000..f65f5c92b
--- /dev/null
+++ b/pcr/trisquel-themes/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: fauno <fauno@kiwwwi.com.ar>
+
+pkgname=trisquel-themes
+pkgver=6.0
+_miniver="5.99-2"
+pkgrel=1
+pkgdesc="Themes from Trisquel, including GTK2, Metacity, XFWM and Openbox themes"
+arch=('any')
+url=http://trisquel.info
+license=('GPL')
+depends=()
+optdepends=('gtk-engine-equinox: for Trisquel GTK2 theme')
+source=(http://archive.trisquel.info/trisquel/pool/main/t/trisquel-gtk-theme/trisquel-gtk-theme_${pkgver}.tar.gz
+http://archive.trisquel.info/trisquel/pool/main/t/trisquel-mini-data/trisquel-mini-data_${_miniver}.tar.gz)
+
+build() {
+ :
+}
+
+package() {
+ install -d ${pkgdir}/usr/share/themes
+
+ for trisquelsrc in trisquel-gtk-theme/data trisquel-mini-data; do
+ cp -R ${srcdir}/${trisquelsrc}/usr/share/themes/* \
+ ${pkgdir}/usr/share/themes/
+ done
+}
+md5sums=('8d81a535adade0e52a0c584c07f87a2a'
+ 'dd222c321374692f57e21c47aa70d402')