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

Levente Polyak anthraxx at archlinux.org
Fri Dec 27 16:06:40 UTC 2019


    Date: Friday, December 27, 2019 @ 16:06:39
  Author: anthraxx
Revision: 372328

upgpkg: devtools 20191227-2 fix offload-build config location for PKGEXT

--packagelist needs the proper PKGEXT, so lets use the makepkg.conf from
devtools.

Modified:
  devtools/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-27 15:11:22 UTC (rev 372327)
+++ PKGBUILD	2019-12-27 16:06:39 UTC (rev 372328)
@@ -3,7 +3,7 @@
 
 pkgname=devtools
 pkgver=20191227
-pkgrel=1
+pkgrel=2
 pkgdesc='Tools for Arch Linux package maintainers'
 arch=('any')
 license=('GPL')
@@ -25,6 +25,11 @@
 sha256sums=('f217571e33d7e336336ad02df3e7e6318c175bf16ed44ad732cfee73cd9ca42b'
             'SKIP')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed 's|makepkg --packagelist|makepkg --config /usr/share/devtools/makepkg-x86_64.conf --packagelist|' -i offload-build
+}
+
 build() {
   cd ${pkgname}-${pkgver}
   make PREFIX=/usr



More information about the arch-commits mailing list