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


Commits:
b7c1fece by Balló György at 2024-05-13T15:29:39+02:00
Switch to git source

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,12 +5,11 @@ pkgbase = libdvdread
        url = https://www.videolan.org/developers/libdvdnav.html
        arch = x86_64
        license = GPL-2.0-or-later
+       makedepends = git
        depends = glibc
        optdepends = libdvdcss: Decoding encrypted DVDs
-       source = 
https://download.videolan.org/pub/videolan/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2
-       source = 
https://download.videolan.org/pub/videolan/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2.asc
+       source = git+https://code.videolan.org/videolan/libdvdread.git#tag=6.1.3
        validpgpkeys = 65F7C6B4206BD057A7EB73787180713BE58D1ADC
-       sha256sums = 
ce35454997a208cbe50e91232f0e73fb1ac3471965813a13b8730a8f18a15369
-       sha256sums = SKIP
+       b2sums = 
bdc0a6fcbc75dfe000f618cab1e2c736762a1d54c68851207c471a7177080c48964d2b7e4dc96dbdbacdadb42f022a2d3c6e097e83b612b9bbe2641240c5f38d
 
 pkgname = libdvdread


=====================================
PKGBUILD
=====================================
@@ -11,19 +11,24 @@ arch=('x86_64')
 url='https://www.videolan.org/developers/libdvdnav.html'
 license=('GPL-2.0-or-later')
 depends=('glibc')
+makedepends=('git')
 optdepends=('libdvdcss: Decoding encrypted DVDs')
-source=("https://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"{,.asc})
-sha256sums=('ce35454997a208cbe50e91232f0e73fb1ac3471965813a13b8730a8f18a15369'
-            'SKIP')
+source=("git+https://code.videolan.org/videolan/libdvdread.git#tag=$pkgver";)
+b2sums=('bdc0a6fcbc75dfe000f618cab1e2c736762a1d54c68851207c471a7177080c48964d2b7e4dc96dbdbacdadb42f022a2d3c6e097e83b612b9bbe2641240c5f38d')
 validpgpkeys=('65F7C6B4206BD057A7EB73787180713BE58D1ADC') # VideoLAN Release 
Signing Key (2015)
 
+prepare() {
+  cd $pkgname
+  autoreconf -fi
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libdvdread/-/commit/b7c1fece31cb4d13c34131435f85e9a311e02fc3

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


Reply via email to