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

Bruno Pagani archange at gemini.archlinux.org
Fri Jul 1 13:10:54 UTC 2022


    Date: Friday, July 1, 2022 @ 13:10:54
  Author: archange
Revision: 1243187

upgpkg: xed 3.2.4-1

Also revamp PKGBUILD

Modified:
  xed/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++++---------------------
 1 file changed, 15 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-01 13:09:22 UTC (rev 1243186)
+++ PKGBUILD	2022-07-01 13:10:54 UTC (rev 1243187)
@@ -1,33 +1,27 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
 # Contributor: Nate Simon <aurpkg (at natesimon.net)>
 
 pkgname=xed
-pkgver=3.2.3
+pkgver=3.2.4
 pkgrel=1
 pkgdesc="A small and lightweight text editor. X-Apps Project."
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/linuxmint/${pkgname}"
-license=('GPL')
-groups=('x-apps')
-depends=('gspell' 'gtksourceview4' 'libpeas' 'xapps')
-makedepends=('meson' 'samurai' 'gobject-introspection' 'intltool' 'itstool')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('388c1c49be0b284f79f0c84e3ad37d7966cd300fac002b9034b0c089738bd2c8')
-b2sums=('3551a33d57bafb913a5c206f90600bc08c42e58f6a4e8ac507ae82a38e22568c0d01378ee1551f39c27dc9061a51303da1b5014e7f939a86b00b6ade68f55635')
+license=(GPL)
+groups=(x-apps)
+depends=(gspell gtksourceview4 libpeas xapp)
+makedepends=(meson samurai gobject-introspection intltool itstool)
+optdepends=('python: required for some plugins')
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('159e4e1a2def959b13b9ea5ce873a0fb4e24a3cbed24ab6afe5da291037b6595')
+b2sums=('04f381ee09aa3c35380782e94ac305f3323bafd9f2736106ffbbb3b76f21813e33cb5c620ccfd5586572745c808ea5814c83fca7aca9971d6626a41bf946f042')
 
 build() {
-    mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    meson --prefix=/usr \
-          --libexecdir=lib/${pkgname} \
-          --buildtype=plain \
-          ..
-    samu
+  arch-meson ${pkgname}-${pkgver} build
+  samu -C build
 }
 
 package(){
-    cd "${srcdir}"/${pkgname}-${pkgver}/build
-
-    DESTDIR="${pkgdir}" samu install
+  DESTDIR="${pkgdir}" samu -C build install
 }



More information about the arch-commits mailing list