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

Eli Schwartz eschwartz at archlinux.org
Fri Nov 27 05:51:55 UTC 2020


    Date: Friday, November 27, 2020 @ 05:51:54
  Author: eschwartz
Revision: 763970

upgpkg: xapp 2.0.0-1: upstream release

weird soname doesn't seem to be directly harmful...

work around broken support file, see https://github.com/linuxmint/xapp/pull/117

Modified:
  xapp/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-27 05:49:26 UTC (rev 763969)
+++ PKGBUILD	2020-11-27 05:51:54 UTC (rev 763970)
@@ -3,8 +3,8 @@
 # Contributor: Nate Simon <aurpkg (at natesimon.net)>
 
 pkgname=xapp
-pkgver=1.8.10
-pkgrel=3
+pkgver=2.0.0
+pkgrel=1
 pkgdesc="Common library for X-Apps project"
 arch=('x86_64')
 url="https://github.com/linuxmint/${pkgname}"
@@ -15,10 +15,22 @@
 provides=('xapps')
 conflicts=('xapps')
 replaces=('xapps')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('a0d542de6dc4d6a318bdf1fad88447db270ab2dd0582f0c6f28008cc77337672')
-b2sums=('cda37ade7d8cd3f9ffb5fd1e6ac7ed5841f9ccc8c8735cfc5a7d88a0a3530614b70dd56395b4f36a6c39b980df83c5668b44f45223240ed1009918178ee0e88f')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+        "https://github.com/linuxmint/xapp/pull/117/commits/8fb391b5d8f081d6fa1ed4a7d9f56e175aae31ff.patch")
+sha256sums=('cc33dea39cc1092e77280ba290b94adf991125d922b285dc20c5a62cc41dac29'
+            'e5e0e3462746d2c967d136a5561de72fb67b9882d644fad30d516512eb8f5255')
+b2sums=('64159030705a8f94c4ebebc361a78b34ede83ff21e8ef66fe0445d0ff69f1d8546ccbe19625bad1ce9101fa6c4654ef3706ca9b0fc006f3b934562f388e96814'
+        '785f78e9f0dd51ae70388d09de26d760a530a6859f78995197fc9eacd1b4c483c3570b2e716ad27c9133f6b2f5e835507ba203359ed81069fc9b4e5c09ef8995')
 
+prepare() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    # do not install file in Debian-specific location that doesn't work anywhere else
+    # https://github.com/linuxmint/xapp/pull/117
+    patch -p1 -i ../8fb391b5d8f081d6fa1ed4a7d9f56e175aae31ff.patch
+
+}
+
 build() {
     mkdir -p "${srcdir}"/${pkgname}-${pkgver}/build
     cd "${srcdir}"/${pkgname}-${pkgver}/build
@@ -34,6 +46,7 @@
     cd "${srcdir}"/${pkgname}-${pkgver}/build
 
     DESTDIR="${pkgdir}" samu install
+
     # rm useless scripts
     rm -r "${pkgdir}"/usr/bin
 



More information about the arch-commits mailing list