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

Dan Printzell wild at archlinux.org
Thu Feb 11 20:59:05 UTC 2021


    Date: Thursday, February 11, 2021 @ 20:59:05
  Author: wild
Revision: 856781

upgpkg: tilix 1.9.4-1: Updated to 1.9.4

Modified:
  tilix/trunk/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++-----------------------
 1 file changed, 16 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-11 20:18:38 UTC (rev 856780)
+++ PKGBUILD	2021-02-11 20:59:05 UTC (rev 856781)
@@ -4,43 +4,36 @@
 # Contributor: Carl George < arch at cgtx dot us >
 
 pkgname=tilix
-pkgver=1.9.3
-pkgrel=11
+pkgver=1.9.4
+pkgrel=1
 pkgdesc="A tiling terminal emulator for Linux using GTK+ 3"
 arch=('x86_64')
 url="https://github.com/gnunn1/tilix"
 license=('MPL')
 depends=('libx11' 'gtkd' 'vte3' 'dconf' 'gsettings-desktop-schemas')
-makedepends=('ldc' 'po4a')
+makedepends=('ldc' 'po4a' 'meson' 'appstream')
 optdepends=('python-nautilus: for "Open Tilix Here" support in nautilus'
             'libsecret: for the password manager')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz"
-        "Avoid_calling_values_on_a_shared_object.patch::https://github.com/gnunn1/tilix/commit/ce11b0bd936fe8fee9c5ac7025ea5864b99ed7d3.patch")
-sha256sums=('f1b4dbbd60f4b9a91e0ab0954e3e6b8ebe5442d5fbb760a554a733903e44a1de'
-            '29bbdb44fa026af00d82230376a0c18e4947d7c7cfbe1838a6cbb81733f6ba0a')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('2a9482770391d11d5edc8351d426c700c2cc6c194a30391ef2ae25bb7095b59b')
 
 prepare() {
-    cd "$pkgname-$pkgver"
-
-    # Fixes compilation: https://github.com/gnunn1/tilix/commit/ce11b0bd936fe8fee9c5ac7025ea5864b99ed7d3
-    patch -p1 < "$srcdir"/Avoid_calling_values_on_a_shared_object.patch
-
-    ./autogen.sh
+  mkdir -p build
 }
 
 build() {
-    cd "$pkgname-$pkgver"
+  cd build
 
-    ./configure \
-    --prefix=/usr \
-    PO4A_TRANS=/usr/bin/vendor_perl/po4a-translate \
-    DC='ldmd' \
-    DCFLAGS='-O -inline -release -version=StdLoggerDisableTrace -L='"\"$LDFLAGS\""
-    make
+  # Build with LDC
+  export DC=ldc
+
+  arch-meson ../$pkgname-$pkgver
+
+  ninja
 }
 
 package() {
-    cd "$pkgname-$pkgver"
-    make DESTDIR="$pkgdir" install
+  cd build
+
+  DESTDIR="$pkgdir" ninja install
 }
-



More information about the arch-commits mailing list