updated on Tue Jan 24 16:10:37 UTC 2012
[aur-mirror.git] / swapspace / PKGBUILD
blob8965d3335dda27a7a76e073936d37bce19fbcd53
1 # Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
2 pkgname=swapspace
3 pkgver=1.10
4 pkgrel=2
5 pkgdesc="A dynamic swap manager"
6 arch=('i686' 'x86_64')
7 url="http://pqxx.org/development/swapspace"
8 license=('GPL')
9 backup=(etc/swapspace.conf)
10 source=(http://pqxx.org/download/software/swapspace/$pkgname-$pkgver.tar.gz
11         Makefile.patch
12         swapspace.confd
13         swapspace)
14 sha256sums=('37256d6759be5cefbb50afbeba8bb0f159b3488aecd972898fcc6f4d5e6a3573'
15             'bc7abed7a240e5b5ebb183cb2d1f2fb65dfb4864fc8c56a2d6f18bec5d5abc8b'
16             '233fec29540b5cf7ae3d49d34deac9a9a044665bd942e817d6b98ae3a91b9857'
17             '632e7dae7cb5e47904c584f5086861684193dfea9425e337fb807e8dbb9aa482')
18 options=(!buildflags)
20 build() {
21   cd "$srcdir/$pkgname-$pkgver"
22   patch -Np1 -i ${srcdir}/Makefile.patch
23   make
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
28   make DESTDIR="$pkgdir/" install
29   install -Dm755 ../swapspace "${pkgdir}"/etc/rc.d/swapspace
30   install -Dm644 ../swapspace.confd "${pkgdir}"/etc/conf.d/swapspace
33 # vim:set ts=2 sw=2 et: