George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
wimlib


Commits:
995ed3b9 by George Rawlinson at 2023-08-15T20:13:12+12:00
upgpkg: 1.14.2-1

* New upstream release.
* Switch source from tarball to git commit.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -3,13 +3,14 @@
 # Contributor: Eric Biggers <ebiggers3 at gmail dot com>
 
 pkgname=wimlib
-pkgver=1.14.1
+pkgver=1.14.2
 pkgrel=1
 pkgdesc='A library and program to extract, create, and modify WIM files'
 arch=('x86_64')
 url='https://wimlib.net'
 license=('custom')
 depends=('fuse3' 'ntfs-3g')
+makedepends=('git')
 checkdepends=('attr')
 optdepends=(
   'cdrkit: for making ISO image of Windows PE'
@@ -18,12 +19,20 @@ optdepends=(
   'cabextract: for extracting Windows PE from the WAIK'
 )
 provides=('libwim.so')
-source=("https://wimlib.net/downloads/$pkgname-$pkgver.tar.gz";)
-sha512sums=('9f92a8ce2d386918d66a1a3e52d4fbffeeb9f8b9345b25012fd0bd07039a00be84fd83d83a9bb25bcefab09597a81e9392522be835dd6693dd00050f8624af00')
-b2sums=('56e44928229c9c4fda662fa64fc4021bd361c2c959f0786764b84fa4cc9d7f7b0d5440edb4d4079657cc7bf450ac9c755f554c7da7a8b2b7e96d69ddbeb4f22f')
+_commit='7df9ab5f062f9131887b41915cce4f62fca96baa'
+source=("$pkgname::git+https://github.com/ebiggers/wimlib#commit=$_commit";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
+
+  autoreconf -i
 
   ./configure \
     --disable-static \
@@ -36,13 +45,13 @@ build() {
 }
 
 check() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   make check
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   make DESTDIR="$pkgdir" install
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/wimlib/-/commit/995ed3b9c5d6d807427e303ad098458655e88e71

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/wimlib/-/commit/995ed3b9c5d6d807427e303ad098458655e88e71
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to