summaryrefslogtreecommitdiff
path: root/community/shuffle/PKGBUILD
blob: e62c9a8cd4b797d5136d413c9cdf3b7b4bb984ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 17671 2010-05-24 20:38:13Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=shuffle
pkgver=1.5
pkgrel=2
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 LICENSE)
md5sums=('d337c7e4db93489e3a30ffc8f89ec363'
         '9dafa5ef909b8a6db992bb8819d3832a')

build() {
  cd $srcdir
  gcc -o shuffle shuffle.c
  install -D -m 755 shuffle $pkgdir/usr/bin/shuffle
  install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}