summaryrefslogtreecommitdiff
path: root/community/shuffle/PKGBUILD
blob: 1a602e2a5ad033f0bb8d0b81942e4bbc985134f3 (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 114388 2014-07-01 15:19:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=shuffle
pkgver=1.5
pkgrel=5
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
}