summaryrefslogtreecommitdiff
path: root/community/sysvbanner/PKGBUILD
blob: 44304f42abb2b59a459c975be6ae37001b01a73b (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: Sebastien Luttringer <seblu+arch@seblu.net>

pkgname=sysvbanner
pkgver=1.0.15
pkgrel=1
pkgdesc='System-V banner clone'
arch=('i686' 'x86_64')
url='http://packages.qa.debian.org/s/sysvbanner.html'
conflicts=('bsd-games')
license=('custom')
source=("http://cdn.debian.net/debian/pool/main/s/sysvbanner/${pkgname}_${pkgver}.tar.gz"
        'man.patch')
md5sums=('5a7bd216a42faa20bfd91268a77cc41d'
         '003aa4532e00c32f747dfba6566c094d')

build() {
  cd $pkgname-$pkgver
  patch -p 1 < ../man.patch
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -D -m444 "debian/copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 ft=sh et: