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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 04:35:34 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:35:33
  Author: foutrelis
Revision: 520052

archrelease: copy trunk to community-staging-x86_64

Added:
  libpillowfight/repos/community-staging-x86_64/
  libpillowfight/repos/community-staging-x86_64/PKGBUILD
    (from rev 520051, libpillowfight/trunk/PKGBUILD)

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

Copied: libpillowfight/repos/community-staging-x86_64/PKGBUILD (from rev 520051, libpillowfight/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-10-26 04:35:33 UTC (rev 520052)
@@ -0,0 +1,50 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=libpillowfight
+pkgname=(libpillowfight python-pillowfight)
+pkgver=0.2.4
+pkgrel=2
+pkgdesc="Small library containing various image processing algorithms"
+arch=(x86_64)
+url="https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight"
+license=(GPL2)
+depends=(glibc python-pillow)
+makedepends=(cmake git python-setuptools)
+_commit=3a7ebba75f4c060ac1707900bd8891e8d200b1c6  # tags/0.2.4^0
+source=("git+https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  [[ -d build ]] || mkdir build
+}
+
+
+build() {
+  cd $pkgbase
+  make build_py
+
+  cd ../build
+  cmake -G "Unix Makefiles" ../$pkgbase/ \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+
+}
+
+package_libpillowfight() {
+  depends=(glibc)
+
+  cd build
+  make DESTDIR="$pkgdir" install
+}
+
+package_python-pillowfight() {
+  depends=(python-pillow)
+
+  cd $pkgbase
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list