summaryrefslogtreecommitdiff
path: root/community/shuffle/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/shuffle/PKGBUILD')
-rw-r--r--community/shuffle/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/shuffle/PKGBUILD b/community/shuffle/PKGBUILD
new file mode 100644
index 000000000..7f25c1272
--- /dev/null
+++ b/community/shuffle/PKGBUILD
@@ -0,0 +1,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
+}