Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
libcdio-paranoia


Commits:
d0aa2656 by Balló György at 2024-05-13T01:46:33+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,10 +5,11 @@ pkgbase = libcdio-paranoia
        url = https://www.gnu.org/software/libcdio/
        arch = x86_64
        license = GPL-3.0-or-later
+       makedepends = git
        depends = glibc
        depends = libcdio
-       source = 
https://github.com/rocky/libcdio-paranoia/releases/download/release-10.2+2.0.2/libcdio-paranoia-10.2+2.0.2.tar.gz
+       source = 
git+https://github.com/rocky/libcdio-paranoia.git#tag=release-10.2+2.0.2
        validpgpkeys = DAA63BC2582034A02B923D521A8DE5008275EC21
-       sha256sums = 
b875d45c3f788fce82a5091c7e87869dd4298cd945e7fb873b61b3e613a32e43
+       b2sums = 
c7badd7b7fa2c65df0b328a9aacc001ff970ea9cc4212ea6b68ffc13f4e301bbed7239f50e52ff453dc78ce1bb0a69ecfd3efb0801c1af8556f926daf822562e
 
 pkgname = libcdio-paranoia


=====================================
PKGBUILD
=====================================
@@ -10,23 +10,29 @@ arch=('x86_64')
 url='https://www.gnu.org/software/libcdio/'
 license=('GPL-3.0-or-later')
 depends=('glibc' 'libcdio')
-source=("https://github.com/rocky/$pkgname/releases/download/release-$pkgver/$pkgname-$pkgver.tar.gz";)
-sha256sums=('b875d45c3f788fce82a5091c7e87869dd4298cd945e7fb873b61b3e613a32e43')
+makedepends=('git')
+source=("git+https://github.com/rocky/libcdio-paranoia.git#tag=release-$pkgver";)
+b2sums=('c7badd7b7fa2c65df0b328a9aacc001ff970ea9cc4212ea6b68ffc13f4e301bbed7239f50e52ff453dc78ce1bb0a69ecfd3efb0801c1af8556f926daf822562e')
 validpgpkeys=('DAA63BC2582034A02B923D521A8DE5008275EC21') # R. Bernstein 
<ro...@panix.com>
 
+prepare() {
+  cd $pkgname
+  autoreconf -fi
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 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/libcdio-paranoia/-/commit/d0aa2656a19582cad2e74362db09ec85c4cbd2fc

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


Reply via email to