blob: 484a72e92019b4935110ee622526aef8ad1229f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $Id: PKGBUILD 64772 2012-02-18 04:26:52Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: scippio <scippio@berounet.cz>
pkgname=ois
pkgver=1.3
_oisver=${pkgver/./-}
pkgrel=2
pkgdesc="Object Oriented Input System"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/wgois"
license=('custom:zlib/libpng')
makedepends=('autoconf' 'automake' 'libtool' 'gcc' 'libxaw')
source=("http://downloads.sourceforge.net/project/wgois/Source%20Release/${pkgver}/ois_v${_oisver}.tar.gz"
"ois-1.3-gcc47.patch")
md5sums=('9697fead17eac6025151cd2e1fca1518'
'e5cb7a504cf30a382d0b0420aedaa953')
build() {
cd ${srcdir}/${pkgname}-v${_oisver}
patch -Np1 -i ${srcdir}/ois-1.3-gcc47.patch
chmod +x bootstrap
./bootstrap
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-v${_oisver}
make DESTDIR=${pkgdir} install
}
|