[arch-commits] Commit in ktoblzcheck/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 20:01:04 UTC 2019
Date: Friday, October 25, 2019 @ 20:01:03
Author: foutrelis
Revision: 519680
archrelease: copy trunk to community-staging-x86_64
Added:
ktoblzcheck/repos/community-staging-x86_64/
ktoblzcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 519679, ktoblzcheck/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: ktoblzcheck/repos/community-staging-x86_64/PKGBUILD (from rev 519679, ktoblzcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-25 20:01:03 UTC (rev 519680)
@@ -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=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=('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