[arch-commits] Commit in ktoblzcheck/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:08:40 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:08:39
  Author: felixonmars
Revision: 749320

archrelease: copy trunk to community-staging-x86_64

Added:
  ktoblzcheck/repos/community-staging-x86_64/
  ktoblzcheck/repos/community-staging-x86_64/PKGBUILD
    (from rev 749319, ktoblzcheck/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: ktoblzcheck/repos/community-staging-x86_64/PKGBUILD (from rev 749319, ktoblzcheck/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-10 05:08:39 UTC (rev 749320)
@@ -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.52
+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=('e433da63af7161a6ce8b1e0c9f0b25bd59ad6d81bc4069e9277c97c1320a3ac4')
+
+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