updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ndofdev / PKGBUILD
blob6dfbca2311ba132ac40dc0499619c84fe8b44f12
1 # Contributor: Medical-Wei/Lanny Bikcin <medicalwei at gmail dot com>
3 pkgname=ndofdev
4 pkgver=0.2
5 pkgrel=3
6 origpkgrel=2
7 pkgdesc="Space navigator joystick library development files"
8 arch=('i686' 'x86_64')
9 url="http://omvviewer.byteme.org.uk/index.shtml"
10 license=('GPL')
11 makedepends=('sdl')
12 source=("http://apt.byteme.org.uk/pool/main/n/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
13         "http://apt.byteme.org.uk/pool/main/n/${pkgname}/${pkgname}_${pkgver}-${origpkgrel}.diff.gz")
15 md5sums=('435ca1a045257b76268fcc64d2d1d0b8'
16          '80ff0045a55a32dfa81258418abdc3c2')
18 build() {
19   cd $srcdir/libndofdev
21   # Applying the debian package patch
22   patch -p1 < ../${pkgname}_${pkgver}-${origpkgrel}.diff || return 1
24   # Make and Install
25   make || return 1
26   make DESTDIR=${pkgdir} install || return 1