summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6676553973c5c2e97cf765b688210c6202e3163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
}