Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# Contributor : NoNameA 774 <nonamea774@gmail.com>
pkgname=fortune-mod-fortune-2ch
pkgver=0.02
pkgrel=1
pkgdesc="UNIX fortune words ぷろでゅーすどばい Unix板の皆様@2ch.net"
url="http://pc.2ch.net/test/read.cgi/unix/991752573/"
arch=('any')
license=('custom')
depends=('fortune-mod' 'nkf')
source=(http://wids.net/archive/test/fortune-2ch.p2.tgz)
build() {
cd $srcdir/fortune-2ch
nkf -w 2ch-fortune > 2ch-fortune-utf
mv 2ch-fortune-utf 2ch-fortune
strfile 2ch-fortune 2ch-fortune.dat
}
package(){
cd $srcdir/fortune-2ch
install -dm755 -- "$pkgdir/usr/share/fortune"
install -D -m644 2ch-fortune $pkgdir/usr/share/fortune/
install -D -m644 2ch-fortune.dat $pkgdir/usr/share/fortune/
}
sha512sums=('b7cb9dd5b9df3d6a94e76724187db1e5d30d3560914418a763b4bbc15ad7f15856b71754e0458a67c16718ad91c1ac37bae398b419e652417f732b50821b24b2')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment