mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-15 18:51:48 +02:00
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=libuser
|
|
pkgver=0.64
|
|
pkgrel=1
|
|
pkgdesc="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="
|
|
autoconf
|
|
automake
|
|
bison
|
|
flex
|
|
gettext-dev
|
|
glib-dev
|
|
glib-dev
|
|
gtk-doc
|
|
libtool
|
|
linux-pam-dev
|
|
popt-dev
|
|
python3-dev
|
|
xz
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang py3-$pkgname:_py"
|
|
source="https://releases.pagure.org/libuser/libuser-$pkgver.tar.gz
|
|
0001-remove-unused-execinfo.h.patch
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sh autogen.sh
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--sbindir=/usr/bin \
|
|
--disable-gtk-doc-html \
|
|
--with-python \
|
|
--disable-rpath \
|
|
--with-python=/usr/bin/python3
|
|
sed -i 's/SUBDIRS = po docs/SUBDIRS = po/' Makefile
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
_py() {
|
|
pkgdesc="Python3 bindings for $pkgname"
|
|
|
|
amove usr/lib/python3*
|
|
}
|
|
|
|
sha512sums="
|
|
8a2536f8f37538e60a4d0eb072c69d56d6d27d39a34078576b33b6eff55e60534b3fdee6432fe591a1bfbd521a6a447746e42756e34f77e369d057d79562f74b libuser-0.64.tar.gz
|
|
b7da24da834b7e00e3449ab49c2187b0d8993079888b0900b62ec418db8fc025a22ee4b779715cc6ca327b614d97dd1fbf0a33f4f22fedade06782a3ba11f599 0001-remove-unused-execinfo.h.patch
|
|
"
|