Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
lib32-libudev0-shim


Commits:
426c3f37 by Christian Hesse at 2024-07-02T10:46:43+02:00
upgpkg: 1-7: upgpkg: 1-5: build from git, fast-forward to latest commit

This also satisfies rebuild for missing .SRCINFO file in package.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,15 +1,16 @@
 pkgbase = lib32-libudev0-shim
        pkgdesc = libudev.so.0 compatibility library for systems with newer 
udev versions (32 bit)
        pkgver = 1
-       pkgrel = 6
+       pkgrel = 7
        url = https://github.com/archlinux/libudev0-shim
        arch = x86_64
-       license = GPL
+       license = LGPL-2.1-or-later
+       makedepends = git
        depends = lib32-systemd
        depends = libudev0-shim
        provides = lib32-libudev0
        conflicts = lib32-libudev0
-       source = 
libudev0-shim.tar.gz::https://github.com/archlinux/libudev0-shim/archive/v1.tar.gz
-       sha512sums = 
794810b20be6391cb6af53c2c49705f8bd884dd6eb5d1fd5b659481a01490205cc60e0f1904c020fb0e59e984583762ba6775f977a78b95a40ba82eb93965387
+       source = 
git+https://github.com/archlinux/libudev0-shim.git#commit=dbaa13dd5cbcebb6aea6c652402c67f156548935
+       sha512sums = 
37fdb46a6b0bd9c34e393ad4daf99d3d9c9568e06b295324d3508dba59758b1bd088859931b76966d5451a3c81cf3864abb45125e3268709de21dbc3a047fff1
 
 pkgname = lib32-libudev0-shim


=====================================
PKGBUILD
=====================================
@@ -3,27 +3,30 @@
 _basepkgname=libudev0-shim
 pkgname=lib32-${_basepkgname}
 pkgver=1
-pkgrel=6
+_commit='dbaa13dd5cbcebb6aea6c652402c67f156548935'
+pkgrel=7
 pkgdesc='libudev.so.0 compatibility library for systems with newer udev 
versions (32 bit)'
 url='https://github.com/archlinux/libudev0-shim'
 arch=('x86_64')
-license=('GPL')
+license=('LGPL-2.1-or-later')
 provides=('lib32-libudev0')
 conflicts=('lib32-libudev0')
 depends=('lib32-systemd' 'libudev0-shim')
-source=(${_basepkgname}.tar.gz::https://github.com/archlinux/libudev0-shim/archive/v${pkgver}.tar.gz)
-sha512sums=('794810b20be6391cb6af53c2c49705f8bd884dd6eb5d1fd5b659481a01490205cc60e0f1904c020fb0e59e984583762ba6775f977a78b95a40ba82eb93965387')
+makedepends=('git')
+source=("git+https://github.com/archlinux/libudev0-shim.git#commit=${_commit}";)
+sha512sums=('37fdb46a6b0bd9c34e393ad4daf99d3d9c9568e06b295324d3508dba59758b1bd088859931b76966d5451a3c81cf3864abb45125e3268709de21dbc3a047fff1')
 
 build() {
-  cd ${_basepkgname}-${pkgver}
-  unset LDFLAGS
+  cd "${_basepkgname}"
+
   make CC="gcc -m32"
 }
 
 package() {
-  cd ${_basepkgname}-${pkgver}
-  install -Dm 755 libudev.so.0.0.9999 -t "${pkgdir}/usr/lib32"
-  ln -s libudev.so.0.0.9999 "${pkgdir}/usr/lib32/libudev.so.0"
+  cd "${_basepkgname}"
+
+  install -Dm 0755 libudev.so.0.13.9999 -t "${pkgdir}/usr/lib32"
+  ln -s libudev.so.0.13.9999 "${pkgdir}/usr/lib32/libudev.so.0"
 }
 
 # vim: ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-libudev0-shim/-/commit/426c3f3732a292c1089bdbf6ddadf2673d9e406a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/lib32-libudev0-shim/-/commit/426c3f3732a292c1089bdbf6ddadf2673d9e406a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to