updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / msort / PKGBUILD
blob63b4d5d2a7ce9533950cfa9ac473c715a79d182b
1 # Maintainer: lolilolicon <(loli){2}con@gmail\.com>
3 pkgname=msort
4 pkgver=8.53
5 pkgrel=2
6 pkgdesc="Msort sorts files in sophisticated ways: number systems, regex, separators, keys, sorting algorithms. It understands UTF8-Unicode and locales."
7 arch=('i686' 'x86_64')
8 url="http://billposer.org/Software/msort.html"
9 license=('GPL')
10 depends=('tre' 'utf8proc' 'libuninum')
11 optdepends=('iwidgets: For the msort GUI')
12 source=(http://billposer.org/Software/Downloads/$pkgname-$pkgver.tar.gz)
13 md5sums=('a6468fbb8503bb52331994f96eb7b54c')
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
18   # --disable-utf8proc to use libicu instead (fails for me).
19   ./configure --prefix=/usr --mandir=/usr/share/man
20   make
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
26   make DESTDIR="$pkgdir" install-strip
28   # rename msg (the gui script), what a bad name :D
29   mv "$pkgdir"/usr/bin/msg{,.tcl}
30   # install license
31   install -Dm644 {,"$pkgdir/usr/share/licenses/$pkgname/"}COPYING