[arch-commits] Commit in mtpaint/trunk (PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Thu Dec 2 10:19:55 UTC 2021


    Date: Thursday, December 2, 2021 @ 10:19:55
  Author: arodseth
Revision: 1061578

upgpkg: mtpaint 3.50.09-1

Modified:
  mtpaint/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 08:40:43 UTC (rev 1061577)
+++ PKGBUILD	2021-12-02 10:19:55 UTC (rev 1061578)
@@ -3,7 +3,7 @@
 # Contributor: yosh64 <yosh64 at gmail.com>
 
 pkgname=mtpaint
-pkgver=3.50.05
+pkgver=3.50.09
 pkgrel=1
 pkgdesc='Paint program for creating icons and pixel art'
 arch=(x86_64)
@@ -12,17 +12,24 @@
 depends=(gtk3 openjpeg2)
 makedepends=(git)
 optdepends=('gifsicle: export GIF files from mtPaint')
-source=("git+$url#commit=96cd3788c4f89973350981dbc71d449cabdac297") # version: 3.50.05
-sha256sums=('SKIP')
+source=('https://raw.githubusercontent.com/puppylinux-woof-CE/woof-CE/e904dc79b479b3e62c69c65e744a8715fcfed0fa/woof-code/rootfs-petbuilds/mtpaint/wayland.patch'
+  "git+$url#commit=199472ad6a4ecee6c8583fb5a504a2e99712b4fc") # version: 3.50.09, no git tags available
+b2sums=('e11a93ba95887abbca866db6687c0a2d410dd657649a17a0c97776977fe6c7bf69dccbf746309d7fdec44a5123c0ee5a47f2c093486b353bfed4c11799d167c0'
+        'SKIP')
 
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../wayland.patch
+}
+
 build() {
-  cd mtpaint
+  cd $pkgname
   export CFLAGS="$(pkg-config openjp2 --cflags) -w $CFLAGS"
-  ./configure gtk3 --prefix=/usr --mandir=/usr/share/man \
-    man intl jpeg tiff cflags lcms2 jp2v2
+  ./configure --mandir=/usr/share/man --prefix=/usr \
+    cflags gtk3 intl jp2v2 jpeg lcms2 man tiff
   make
 }
 
 package() {
-  make -C mtpaint DESTDIR="$pkgdir" install
+  make -C $pkgname DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list