summaryrefslogtreecommitdiff
path: root/community/silly/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/silly/PKGBUILD')
-rw-r--r--community/silly/PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/community/silly/PKGBUILD b/community/silly/PKGBUILD
index 12ac8800a..b26e39d62 100644
--- a/community/silly/PKGBUILD
+++ b/community/silly/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 63742 2012-02-05 12:11:01Z ibiru $
+# $Id: PKGBUILD 90090 2013-05-06 19:39:34Z foutrelis $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
pkgname=silly
pkgver=0.1.0
-pkgrel=5
+pkgrel=6
pkgdesc="Simple Image Loading LibrarY, a part of the CEGUI project"
arch=('i686' 'x86_64')
url="http://www.cegui.org.uk/wiki/index.php/SILLY"
@@ -18,9 +18,17 @@ md5sums=('c3721547fced7792a36ffc9ce6ec23fd'
build() {
cd "${srcdir}/SILLY-${pkgver}"
+
patch -Np1 < $srcdir/silly-libpng1.5.patch
+
./configure --prefix=/usr
make
+}
+
+package() {
+ cd "${srcdir}/SILLY-${pkgver}"
+
make DESTDIR="${pkgdir}" install
+
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}