upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lrs / repos / community-x86_64 / PKGBUILD
bloba2c928c1bb07d1c35fcda5efb1fa7609cec8bbc5
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=lrs
4 pkgver=072
5 _pkgver=${pkgver/./}
6 pkgrel=1
7 pkgdesc='C implementation of the reverse search algorithm for vertex enumeration/convex hull problems'
8 arch=(x86_64)
9 url='http://cgm.cs.mcgill.ca/~avis/C/lrs.html'
10 license=(GPL)
11 depends=(gmp)
12 source=(http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz
13         lrs-system-cflags.patch)
14 sha256sums=('fc48754a1ded1d8445d40ecfbe3546e4f27d53aaee95dc2c8c0c79fb9cd532f0'
15             '617ed06ae2584ef3349a3b1f6ab1a4acd11f18211394458498e1223a65bb0e73')
17 prepare() {
18   cd lrslib-$_pkgver
19   patch -p1 -i ../lrs-system-cflags.patch # Use system CFLAGS/LDFLAGS
22 build() {
23   cd lrslib-$_pkgver
24   make
27 package() {
28   cd lrslib-$_pkgver
29   make DESTDIR="$pkgdir" prefix=/usr install