Balló György pushed to branch main at Arch Linux / Packaging / Packages / libpgm


Commits:
0ab25c0e by Balló György at 2024-05-13T01:35:10+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,9 +5,10 @@ pkgbase = libpgm
        url = https://github.com/steve-o/openpgm
        arch = x86_64
        license = LGPL-2.1-or-later
+       makedepends = git
        makedepends = python
        depends = glibc
-       source = 
https://github.com/steve-o/openpgm/archive/release-5-3-128/openpgm-5.3.128.tar.gz
-       sha256sums = 
8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393
+       source = git+https://github.com/steve-o/openpgm.git#tag=release-5-3-128
+       b2sums = 
3718430386e4ca8b9e51dbd69a17d4bb71ef0169b8f78f66865aae3d5cca09f4bd63d18bac714b4e5a89ad09ecdb73a3fd8f7163c1806c0c1ff2f109a8898dcd
 
 pkgname = libpgm


=====================================
PKGBUILD
=====================================
@@ -11,26 +11,26 @@ arch=('x86_64')
 url='https://github.com/steve-o/openpgm'
 license=('LGPL-2.1-or-later')
 depends=('glibc')
-makedepends=('python')
-source=("https://github.com/steve-o/openpgm/archive/release-${pkgver//./-}/openpgm-$pkgver.tar.gz";)
-sha256sums=('8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393')
+makedepends=('git' 'python')
+source=("git+https://github.com/steve-o/openpgm.git#tag=release-${pkgver//./-}";)
+b2sums=('3718430386e4ca8b9e51dbd69a17d4bb71ef0169b8f78f66865aae3d5cca09f4bd63d18bac714b4e5a89ad09ecdb73a3fd8f7163c1806c0c1ff2f109a8898dcd')
 
 prepare() {
-  cd openpgm-release-${pkgver//./-}/openpgm/pgm
+  cd openpgm/openpgm/pgm
 
   # https://github.com/steve-o/openpgm/pull/66
-  mv openpgm-5.2.pc.in openpgm-5.3.pc.in
+  git cherry-pick -n 240634b1afb968a051f8c68696eae2a582a02450
 
   ./bootstrap.sh
 }
 
 build() {
-  cd openpgm-release-${pkgver//./-}/openpgm/pgm
+  cd openpgm/openpgm/pgm
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd openpgm-release-${pkgver//./-}/openpgm/pgm
+  cd openpgm/openpgm/pgm
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libpgm/-/commit/0ab25c0ed70fb5156c573a631b8035ebfc913399

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libpgm/-/commit/0ab25c0ed70fb5156c573a631b8035ebfc913399
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to