summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Alvarez2016-07-17 20:50:42 +0200
committerGustavo Alvarez2016-07-17 20:50:42 +0200
commit661403379c24c23cba5845a139d2113305bd79ba (patch)
tree7e319aa56a25704292d1ae5ecf03da0d599d5bc0
downloadaur-661403379c24c23cba5845a139d2113305bd79ba.tar.gz
Initial commit
-rw-r--r--.SRCINFO27
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD50
3 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0873f4dad8e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by mksrcinfo v8
+# Sun Jul 17 18:50:42 UTC 2016
+pkgbase = krename-git
+ pkgdesc = A very powerful batch file renamer for KDE. (GIT Version)
+ pkgver = 4.0.9.r285.8af8955
+ pkgrel = 1
+ url = http://www.krename.net
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = extra-cmake-modules
+ makedepends = python
+ makedepends = kdoctools
+ depends = kio
+ depends = taglib
+ depends = podofo
+ depends = kjs
+ depends = exiv2
+ depends = hicolor-icon-theme
+ provides = krename
+ conflicts = krename
+ source = git://anongit.kde.org/krename.git
+ sha1sums = SKIP
+
+pkgname = krename-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8418b2e9a76
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
+
+pkgname=krename-git
+pkgver=4.0.9.r285.8af8955
+pkgrel=1
+pkgdesc="A very powerful batch file renamer for KDE. (GIT Version)"
+arch=('i686' 'x86_64')
+url='http://www.krename.net'
+license=('GPL')
+depends=('kio'
+ 'taglib'
+ 'podofo'
+ 'kjs'
+ 'exiv2'
+ 'hicolor-icon-theme'
+ )
+makedepends=('git'
+ 'extra-cmake-modules'
+ 'python'
+ 'kdoctools'
+ )
+provides=('krename')
+conflicts=('krename')
+source=('git://anongit.kde.org/krename.git')
+sha1sums=('SKIP')
+
+pkgver() {
+ cd krename
+ _ver="$(cat CMakeLists.txt | grep -m1 KRENAME_VERSION | grep -o "[[:digit:]]*" | paste -sd'.')"
+ echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../krename \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+}