summaryrefslogtreecommitdiff
path: root/community/libwapcaplet/PKGBUILD
blob: 86f0907711a6a43f982ebce2833801ac73a96ac7 (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
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=libwapcaplet
pkgver=0.0.2
pkgrel=1
pkgdesc="A string internment library with rapid string comparison."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.netsurf-browser.org/projects/libwapcaplet/"
license=('MIT')
source=(http://www.netsurf-browser.org/projects/releases/${pkgname}-${pkgver}-src.tar.gz)
md5sums=('c73b5ff5fce55819cc698e8cb486d5eb')

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

	make || return 1
}

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

	make PREFIX=/usr DESTDIR=${pkgdir} install || return 1
	install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}