summaryrefslogtreecommitdiff
path: root/community/libwapcaplet/PKGBUILD
blob: 2eff2bc704a00a24ce39036f3b185cc54563281a (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')
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
}