summaryrefslogtreecommitdiff
path: root/community/shuffle/PKGBUILD
blob: 7f25c1272dfc0c29f4a9d12bb815effeed9a67fd (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 65439 2012-02-21 05:46:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=shuffle
pkgver=1.5
pkgrel=4
pkgdesc="Shuffles lines of input."
arch=('i686' 'x86_64')
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
}