summaryrefslogtreecommitdiff
path: root/community/shuffle/PKGBUILD
blob: d85a4b641d07767661b19593dd892e085e362953 (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 49301 2011-06-14 09:58:19Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=shuffle
pkgver=1.5
pkgrel=3
pkgdesc="Shuffles lines of input."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.w3.org/People/Bos/Shuffle/"
license=('custom')
depends=(glibc)
makedepends=('gcc')
source=(http://www.w3.org/People/Bos/Shuffle/shuffle.c
	http://www.w3.org/People/Bos/Shuffle/shuffle.1
	LICENSE)
md5sums=('d337c7e4db93489e3a30ffc8f89ec363'
         'a352ff446a3c20f7b6390add7918f21d'
         '9dafa5ef909b8a6db992bb8819d3832a')

build() {
  cd $srcdir
  gcc -o shuffle shuffle.c
}

package() {
  cd $srcdir
  install -D -m 755 shuffle $pkgdir/usr/bin/shuffle
  install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
  install -D -m 644 shuffle.1 $pkgdir/usr/share/man/man1/shuffle.1
}