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

Filipe Laíns ffy00 at archlinux.org
Wed Jul 8 19:52:48 UTC 2020


    Date: Wednesday, July 8, 2020 @ 19:52:48
  Author: ffy00
Revision: 661773

archrelease: copy trunk to community-x86_64

Added:
  fontobene-qt5/repos/community-x86_64/
  fontobene-qt5/repos/community-x86_64/PKGBUILD
    (from rev 661772, fontobene-qt5/trunk/PKGBUILD)

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

Copied: fontobene-qt5/repos/community-x86_64/PKGBUILD (from rev 661772, fontobene-qt5/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-07-08 19:52:48 UTC (rev 661773)
@@ -0,0 +1,41 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=fontobene-qt5
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='A header-only library to parse FontoBene stroke fonts with C++/Qt5'
+arch=('x86_64')
+url='https://github.com/fontobene/fontobene-qt5'
+license=('MIT' 'Apache')
+depends=('qt5-base')
+makedepends=('qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('SKIP')
+
+build() {
+  mkdir $pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
+
+  qmake -r ../$pkgname.pro \
+      PREFIX=/usr \
+      QMAKE_CFLAGS_RELEASE="$CFLAGS" \
+      QMAKE_CXXFLAGS_RELEASE="$CXXFLAGS"
+
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver/build
+
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -Dm 644 ../LICENSE-MIT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT
+  install -Dm 644 ../LICENSE-APACHE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-APACHE
+}
+



More information about the arch-commits mailing list