summaryrefslogtreecommitdiff
path: root/community/ois/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ois/PKGBUILD')
-rw-r--r--community/ois/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/community/ois/PKGBUILD b/community/ois/PKGBUILD
index f7de157c3..5c2ce47f5 100644
--- a/community/ois/PKGBUILD
+++ b/community/ois/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD 64772 2012-02-18 04:26:52Z svenstaro $
+# $Id: PKGBUILD 115012 2014-07-05 03:56:55Z fyan $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: scippio <scippio@berounet.cz>
pkgname=ois
pkgver=1.3
_oisver=${pkgver/./-}
-pkgrel=2
+pkgrel=3
pkgdesc="Object Oriented Input System"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/wgois"
-license=('custom:zlib/libpng')
+license=('custom:zlib')
makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'libxaw')
-source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz")
-md5sums=('9697fead17eac6025151cd2e1fca1518')
+source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz"
+ "gcc47.patch")
+md5sums=('9697fead17eac6025151cd2e1fca1518'
+ '5c9d151b7068cb0c25e584d7753831ff')
build() {
cd ${srcdir}/${pkgname}-v${_oisver}
+
+ patch -Np1 < ${srcdir}/gcc47.patch
+
chmod +x bootstrap
./bootstrap
./configure --prefix=/usr
@@ -23,5 +28,8 @@ build() {
package() {
cd ${srcdir}/${pkgname}-v${_oisver}
+
make DESTDIR=${pkgdir} install
+
+ install -Dm644 ReadMe.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}