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

Felix Yan felixonmars at gemini.archlinux.org
Sun Jun 5 13:45:36 UTC 2022


    Date: Sunday, June 5, 2022 @ 13:45:36
  Author: felixonmars
Revision: 1222870

upgpkg: libeatmydata 130-1

Modified:
  libeatmydata/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-05 13:41:27 UTC (rev 1222869)
+++ PKGBUILD	2022-06-05 13:45:36 UTC (rev 1222870)
@@ -3,36 +3,33 @@
 # Contributor: Jonathan Squirawski <sky at sky-co.de>
 
 pkgname=libeatmydata
-pkgver=105.r16.g96f8f0e
-_commit=96f8f0e8291cbc0131529fcb03d4c7df1fe7792c
-pkgrel=2
+pkgver=130
+pkgrel=1
 pkgdesc='Library and utilities designed to disable fsync and friends.'
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url='https://github.com/stewartsmith/libeatmydata'
 license=('GPL3')
 depends=('bash')
-makedepends=('git')
-source=("git+https://github.com/stewartsmith/${pkgname}/#commit=$_commit")
-md5sums=('SKIP')
+source=("https://github.com/stewartsmith/libeatmydata/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('560c0704ae4e8533e79a363ccf46f632')
 
-pkgver() {
-  cd libeatmydata
-  git describe --tags | sed 's/^libeatmydata-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+prepare() {
+  cd libeatmydata-$pkgver
+  autoreconf -i
 }
 
 build() {
-  cd libeatmydata
-  autoreconf -i
+  cd libeatmydata-$pkgver
   ./configure --prefix=/usr --libexecdir=/usr/lib/libeatmydata
   make
 }
 
 check() {
-  cd libeatmydata
+  cd libeatmydata-$pkgver
   make check || echo "Tests need strace permission to run"
 }
 
 package() {
-  cd libeatmydata
+  cd libeatmydata-$pkgver
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list