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

Kpcyrd kpcyrd at archlinux.org
Wed May 6 23:21:26 UTC 2020


    Date: Wednesday, May 6, 2020 @ 23:21:23
  Author: kpcyrd
Revision: 625222

upgpkg: xdo 0.5.7-2 rebuild for reproducible builds

Modified:
  xdo/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-06 23:20:33 UTC (rev 625221)
+++ PKGBUILD	2020-05-06 23:21:23 UTC (rev 625222)
@@ -4,23 +4,25 @@
 
 pkgname=xdo
 pkgver=0.5.7
-pkgrel=1
+pkgrel=2
 pkgdesc='Utility for performing actions on windows in X'
 arch=('x86_64')
 url='https://github.com/baskerville/xdo'
 license=('BSD')
 depends=('libxcb' 'xcb-util-wm' 'xcb-util')
-makedepends=('git')
-source=("git+https://github.com/baskerville/xdo.git#tag=$pkgver")
-md5sums=('SKIP')
+source=(https://github.com/baskerville/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('0978a8571a35899c916495c9d38458adb6c766db4d498dfacf2f0a46e373f7caa3c3e227096b3e60e03c67b972777cf7519e5b6eee7ebb91f82d4450ac0ff98d')
+b2sums=('04710f0a52dba22ef6e5556884ccd6a584e68167511f596aabcd19553d14a3b8d441b1a3d94cb927f5af3c9231690a9954ff8126d35f71a17d85d6aa3a31063f')
 
 build() {
-  make -C xdo PREFIX=/usr
+  cd $pkgname-$pkgver
+  make PREFIX=/usr
 }
 
 package() {
-  make -C xdo PREFIX=/usr DESTDIR="$pkgdir" install
-  install -Dm644 xdo/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd $pkgname-$pkgver
+  make PREFIX=/usr DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 # getver: github.com/baskerville/xdo/blob/master/VERSION


More information about the arch-commits mailing list