mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-23 17:42:31 +01:00
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=libuser
|
|
pkgver=0.62
|
|
pkgrel=4
|
|
pkgdesc="A standardized interface for manipulating and administering user and group accounts"
|
|
url="https://pagure.io/libuser"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
depends="python3"
|
|
makedepends="python3-dev glib-dev popt-dev libexecinfo-dev linux-pam-dev
|
|
autoconf automake libtool"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py3-$pkgname:_py"
|
|
source="https://releases.pagure.org/libuser/libuser-$pkgver.tar.xz
|
|
0001-remove-unused-execinfo.h.patch
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -vif
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--sbindir=/usr/bin \
|
|
--with-python \
|
|
--disable-gtk-doc-html \
|
|
--disable-rpath \
|
|
--with-python=/usr/bin/python3
|
|
sed -i 's/SUBDIRS = po docs/SUBDIRS = po/' Makefile
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
_py() {
|
|
cd "$builddir"
|
|
pkgdesc="Python3 bindings for $pkgname"
|
|
depends="$pkgname"
|
|
mkdir -p "$subpkgdir"/usr/lib
|
|
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib
|
|
}
|
|
|
|
sha512sums="bc2f68456eae5912ac236192e97a3d66d5fa782520eff48d44d391c1ade590e001d821d7a93499e2391d0310cf03f60e4411f045f6ee3301af4e174d9ddc8450 libuser-0.62.tar.xz
|
|
b7da24da834b7e00e3449ab49c2187b0d8993079888b0900b62ec418db8fc025a22ee4b779715cc6ca327b614d97dd1fbf0a33f4f22fedade06782a3ba11f599 0001-remove-unused-execinfo.h.patch"
|