summaryrefslogtreecommitdiff
path: root/community/shhopt/PKGBUILD
blob: 701b32fdbf59ab467d1d7e49834496d9bc8a87c0 (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
# Maintainer: jsteel <jsteel@aur.archlinux.org>
# Contributor: Peter Simons <simons@cryp.to>

pkgname=shhopt
pkgver=1.1.7
pkgrel=1
pkgdesc="Library for parsing command line options"
arch=('i686' 'x86_64')
url="http://shh.thathost.com/pub-unix"
license=('GPL')
source=($url/files/$pkgname-$pkgver.tar.gz)
md5sums=('caf24206354296e8a48771aea1f47fbd')

build() {
  cd "$srcdir"/$pkgname-$pkgver

  make OPTIM="$CFLAGS" dep
  make OPTIM="$CFLAGS"
}

package() {
  cd "$srcdir"/$pkgname-$pkgver

  make OPTIM="$CFLAGS" INSTBASEDIR="$pkgdir"/usr/ install
}