blob: 32b3db49f7d79b366ca4e6b40a6970acb30362ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Patrick Northon <northon_patrick3@yahoo.ca>
pkgname=authselect
pkgver=1.2.2
pkgrel=1
pkgdesc="Authselect is a tool to select system authentication and identity sources from a list of supported profiles."
arch=('i686' 'x86_64')
url="https://github.com/authselect/authselect"
license=('GPL3')
depends=('popt' 'asciidoc')
provides=('authconfig')
conflicts=('authconfig')
makedepends=()
source=("https://github.com/${pkgname}/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('1b0d7b1c2a83734b4fefc06355d7a6965d5fefa62d99944cdff1e835d7b91105')
_srcdir="${pkgname}-${pkgver}"
prepare() {
cd "${_srcdir}"
autoreconf -i
}
build() {
cd "${_srcdir}"
./configure --prefix=/usr --localstatedir=/var --sbindir=/usr/bin --sysconfdir=/etc
make
}
package() {
cd "${_srcdir}"
make DESTDIR="${pkgdir}" install
install -Dpm644 'COPYING' -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|