[arch-commits] Commit in ktoblzcheck/trunk (PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Oct 20 19:29:24 UTC 2019
Date: Sunday, October 20, 2019 @ 19:29:24
Author: jlichtblau
Revision: 517952
upgpkg: ktoblzcheck 1.50-1 - new upstream release
Modified:
ktoblzcheck/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-20 19:14:57 UTC (rev 517951)
+++ PKGBUILD 2019-10-20 19:29:24 UTC (rev 517952)
@@ -1,30 +1,37 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor: Philipp Sandhaus <philipp.sandhaus at gmx.de>
pkgname=ktoblzcheck
-pkgver=1.49
-pkgrel=2
+pkgver=1.50
+pkgrel=1
pkgdesc="A library to check account numbers and bank codes of German banks"
-arch=(x86_64)
+arch=('x86_64')
url="http://ktoblzcheck.sourceforge.net"
-license=("LGPL")
-depends=('gcc-libs' 'python')
-optdepends=('perl')
-source=(https://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz)
-sha256sums=('e8971bc6689ea72b174c194bd43ba2c0b65112b0c3f9fd2371562e0c3ab57d29')
+license=('LGPL')
+depends=('python')
+makedepends=('cmake')
+source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('5cebeb144cd9f3e089325f919150000802aa0ad03aac13b273d797c6933a989f')
prepare() {
- cd "$srcdir/ktoblzcheck-$pkgver"
- sed -i 's|\t| |g' src/python/ktoblzcheck.py
+ cd "${srcdir}"
+
+ [[ ! -d build ]] && mkdir build
}
build() {
- cd "$srcdir/ktoblzcheck-$pkgver"
- ./configure --prefix=/usr
+ cd "${srcdir}"/build
+
+ cmake \
+ ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd "$srcdir/ktoblzcheck-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd "${srcdir}"/build
+
+ make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list