summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjjacky2013-03-22 17:16:09 +0100
committerOlivier Brunel2015-06-08 19:13:35 +0200
commit294f3a4903e70753089cd7ec3861ed7b0cf59c32 (patch)
treec8e8485cc65c1a5d8d5f4c5c3bd551bba7570375
downloadaur-natsort.tar.gz
Add natsort
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4b3660be670
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = natsort
+ pkgdesc = Natural Sorting utility
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/jjk-jacky/natsort
+ arch = i686
+ arch = x86_64
+ license = GPL3+
+ makedepends = perl
+ makedepends = groff
+ source = http://jjacky.com/natsort/natsort-0.1.0.tar.gz
+ md5sums = 81cfe73998405843e3d4092c10523530
+
+pkgname = natsort
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ab9171900a1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: jjacky
+pkgname=natsort
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Natural Sorting utility"
+arch=('i686' 'x86_64')
+url="https://github.com/jjk-jacky/natsort"
+license=('GPL3+')
+makedepends=('perl' 'groff')
+source=(http://jjacky.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('81cfe73998405843e3d4092c10523530')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: