summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD47
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3f6ba4b82a3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = rnm
+ pkgdesc = Bulk rename utility
+ pkgver = 4.0.2
+ pkgrel = 1
+ url = https://github.com/neurobin/rnm
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = jpcre2
+ depends = gmp
+ depends = pcre2
+ source = https://github.com/neurobin/rnm/archive/4.0.2-arch.tar.gz
+ md5sums = SKIP
+
+pkgname = rnm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a6676553973
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Md. Jahidul Hamid <jahidulhamid@yahoo.com>
+pkgname=rnm
+pkgver=4.0.2
+_pkgver="$pkgver-arch"
+pkgrel=1
+epoch=
+pkgdesc="Bulk rename utility"
+arch=('i686' 'x86_64')
+url="https://github.com/neurobin/rnm"
+license=('GPL3')
+groups=()
+depends=(gmp pcre2)
+makedepends=(jpcre2)
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=( "https://github.com/neurobin/$pkgname/archive/$_pkgver.tar.gz" )
+noextract=()
+md5sums=('SKIP')
+validpgpkeys=()
+
+prepare() {
+ cd "$pkgname-$_pkgver"
+ #patch -p1 -i "$srcdir/$pkgname-$_pkgver.patch"
+}
+
+build() {
+ cd "$pkgname-$_pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$pkgname-$_pkgver"
+ make -k check
+}
+
+package() {
+ cd "$pkgname-$_pkgver"
+ make DESTDIR="$pkgdir/" install
+}