summaryrefslogtreecommitdiff
path: root/pcr/tomoyo-tools/PKGBUILD
blob: 3ba53522d67f2e8fde81f9a3f4233a09cb4bd97d (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
26
27
28
# Maintainer (Arch): Jamie Nguyen <jamie AT tomoyolinux.co.uk>

pkgname=tomoyo-tools
_basever=2.3.0
_timestamp=20110211
pkgver=${_basever}.${_timestamp}
pkgrel=4
pkgdesc='TOMOYO Linux 2.3.x userspace tools for Linux kernel 2.6.36 and later'
arch=('i686' 'x86_64')
url='http://tomoyo.sourceforge.jp'
license=('GPL')
depends=('ncurses')
makedepends=('help2man')
conflicts=('ccs-tools')
install=tomoyo-tools.install
source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/48663/${pkgname}-${_basever}-${_timestamp}.tar.gz")

build() {
    cd "${srcdir}/${pkgname}"
    make -j1 || return 1
}

package() {
    cd "${srcdir}/${pkgname}"
    make INSTALLDIR="${pkgdir}" install || return 1
}

sha256sums=('3144bbd6056528c85f63889c8b977b994d5596611b74afdc9a3924162cf94db0')