updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / reuse / PKGBUILD
blob69399c03cdefbbc18d50a98f8b30928dc2ccf1b9
1 # Maintainer: Bin Jin <bjin1990+arch [at] gmail [dot] com>
3 pkgname=reuse
4 pkgver=4.3.11
5 pkgrel=1
6 pkgdesc="a componment required by the ejudge system, a contest management system"
7 url="http://www.ejudge.ru"
8 arch=('x86_64' 'i686')
9 license=('LGPL2.1')
10 depends=('libcap')
11 makedepends=('make' 'gcc')
12 conflicts=()
13 replaces=()
14 backup=()
15 source=("http://www.ejudge.ru/download/reuse-${pkgver}.tgz")
16 md5sums=('a8a8f75b67f9994c610edafc36dbba27')
17 optdepends=('kernel26-ejudge: kernel patch to enable strict memory and secure check')
19 build() {
20   cd ${srcdir}/${pkgname}/source
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd ${srcdir}/${pkgname}/source
27   DESTDIR=${pkgdir} make install
28   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"