summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95c09673bbd911f5c0572764b18ff4777c2ffa98 (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
# Contributor: Philipp Robbel <robbel@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=svl
pkgver=1.5
pkgrel=2
pkgdesc="Small Vector Library"
arch=('i686' 'x86_64')
url="http://www.cs.cmu.edu/afs/cs/user/ajw/www/software/index.html"
source=(http://www.cs.cmu.edu/~ajw/public/dist/$pkgname-$pkgver.tar.gz additions.patch)
md5sums=('53f231278d6e102e3698693e981ce039'
         '8192d595db34400c2898fc1e25a1f19e')
license=('custom')

build() {
  cd $pkgname-$pkgver
  patch -p 1 < "$srcdir"/additions.patch
  make linux_RH 
  make
}

package() {
  cd $pkgname-$pkgver
  make DEST="$pkgdir"/usr install
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
  install -Dm644 doc/svl.html "$pkgdir"/usr/share/doc/svl/svl.html
  rm -rf  "$pkgdir"/usr/doc
}