summaryrefslogtreecommitdiff
path: root/community/sysvbanner/PKGBUILD
blob: 4dc83877933a84c72a28087a1908bedddbce33d0 (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
29
30
# $Id: PKGBUILD 114513 2014-07-01 18:46:40Z seblu $
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>

pkgname=sysvbanner
pkgver=1.0.15
pkgrel=2
pkgdesc='System-V banner clone'
arch=('i686' 'x86_64')
url='http://packages.qa.debian.org/s/sysvbanner.html'
depends=('glibc')
conflicts=('bsd-games')
license=('custom')
source=("http://ftp.debian.org/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 et: