summaryrefslogtreecommitdiff
path: root/community/libmatchbox/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libmatchbox/PKGBUILD')
-rw-r--r--community/libmatchbox/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/libmatchbox/PKGBUILD b/community/libmatchbox/PKGBUILD
new file mode 100644
index 000000000..7adf26263
--- /dev/null
+++ b/community/libmatchbox/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 90054 2013-05-06 19:38:07Z foutrelis $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Henrique C. Alves <hcarvalhoalves@gmail.com>
+
+pkgname=libmatchbox
+pkgver=1.10
+pkgrel=2
+pkgdesc="Base library for Matchbox WM"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('pango' 'libpng' 'libjpeg>=7' 'xsettings-client' 'libxext')
+options=('!libtool')
+url="http://matchbox-project.org/"
+source=(http://downloads.yoctoproject.org/releases/matchbox/libmatchbox/$pkgver/libmatchbox-$pkgver.tar.gz)
+md5sums=('042c5874631dfb95151aa793dc1434b8')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+# sed -i 's|png_check_sig( header, 8 )|png_sig_cmp( header, 0, 8 ) == 0|' libmb/mbpixbuf.c
+# patch -Rp1 <$srcdir/libpng15.patch
+ LDFLAGS="-lX11" ./configure --prefix=/usr --enable-pango --enable-jpeg --enable-xsettings
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}