initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

36
lockdev/PKGBUILD Normal file
View File

@@ -0,0 +1,36 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=lockdev
pkgver=1.0.3_1.6
_pkgver=1.0.3
pkgrel=5
pkgdesc="Run-time shared library for locking devices, using _both_ FSSTND and SVr4 methods"
url='https://packages.qa.debian.org/l/lockdev.html'
license=("LGPL-2.1")
arch=('i686' 'x86_64')
depends=('glibc')
install=lockdev.install
source=("https://deb.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_${_pkgver}.orig.tar.gz"
'build.patch'
'gcc-4.7.patch')
sha512sums=('4066985059add674ef8a9195e611db8ead89ca6191c04b7f29243b12a3448c82a3d0ea852bf99e26e1c71f163891acd198867650a5c4843f787e1944a8bc7f2b'
'79ff3c22fbf38966310de99eefbc897c4f78b05c42d830ef3fc5ecb4234d81e58655bb2ab4564d7da0dbe04348ec496468b840a9992abe6b95b8b423916430ae'
'c97ea9e3974d4eccc30472605a24f4393c60ada66ae5a0ad30502e3f939fb191a2772686241f0d12e417b33350edc015ec2d0238873031773ed6c39dbace0429')
prepare() {
cd "${pkgname}-${_pkgver}"
sed -i "s|CFLAGS = -g|CFLAGS = -g -fPIC|" Makefile
patch -p1 -i $srcdir/build.patch
patch -p1 -i $srcdir/gcc-4.7.patch
}
build() {
cd "${pkgname}-${_pkgver}"
make CFLAGS="${CFLAGS} -fPIC"
}
package() {
cd "${pkgname}-${_pkgver}"
make basedir="${pkgdir}/usr" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}