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