archrelease: copy trunk to community-any
[ArchLinux/community.git] / shuffle / trunk / PKGBUILD
blob958d54d367d6066ee3ab4fa50900e773cac1bb7f
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 pkgname=shuffle
4 pkgver=1.5
5 pkgrel=7
6 pkgdesc="Shuffles lines of input."
7 arch=('x86_64')
8 url="https://www.w3.org/People/Bos/Shuffle/"
9 license=('custom')
10 depends=(glibc)
11 makedepends=('gcc')
12 source=(https://www.w3.org/People/Bos/Shuffle/shuffle.c
13         https://www.w3.org/People/Bos/Shuffle/shuffle.1
14         LICENSE)
15 sha512sums=('af90f04b4b026d6772c3ff338ea9db008acb6ec0f990b9537bb02a6b47d18f3f5aae9642c5972a280387a029cdb0293b6236c513064c34451a0a9367be4a003f'
16             '34effe4ed80f737fa65ff1bb390d5f470bca586d90c75f17ac9558fecaf70b6df0a288d3b9317fd89bb224a654b4dc6cdb9f39645ca5c0e115bf175abe9edd65'
17             '5749dbd66ef031fefeda3c6c3e990a5fc63267768520f7bf248fac9b1f23c7ab34adc9109f031cc48a5dd43b5a83a2d40f63d368cc7906d4c9aaa295d5c1d267')
19 build() {
20   cd "$srcdir"
21   gcc -o shuffle shuffle.c
24 package() {
25   cd "$srcdir"
26   install -D -m 755 shuffle "$pkgdir"/usr/bin/shuffle
27   install -D -m 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
28   install -D -m 644 shuffle.1 "$pkgdir"/usr/share/man/man1/shuffle.1