archrelease: copy trunk to community-any
[ArchLinux/community.git] / opendoas / trunk / PKGBUILD
blob89aa847b512933fa0de0e99ba4934ce0eba6256d
1 # Maintainer: Ivy Foster <iff@archlinux.org>
2 # Maintainer: T.J. Townsend <blakkheim@archlinux.org>
3 # Contributor: alive4ever <alive4ever at live.com>
4 # Contributor: Earnest
6 pkgname=opendoas
7 pkgver=6.8.2
8 pkgrel=1
9 pkgdesc='Run commands as super user or another user'
10 url='https://github.com/Duncaen/OpenDoas'
11 license=(custom:ISC)
12 arch=(x86_64)
13 depends=(pam)
14 provides=(doas)
15 replaces=(doas)
16 source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
17 install=opendoas.install
18 backup=(etc/pam.d/doas)
19 sha256sums=('4e98828056d6266bd8f2c93e6ecf12a63a71dbfd70a5ea99ccd4ab6d0745adf0'
20             'SKIP')
21 validpgpkeys=(C4B6FBA98211F7EFF35DEB73335C1D17EC3D6E35) # Duncan Overbruck <mail@duncano.de>
23 build() {
24         cd "$pkgname-$pkgver"
25         ./configure --prefix=/usr --with-timestamp
26         make
29 package() {
30         cd "$pkgname-$pkgver"
31         make DESTDIR="$pkgdir" install
32         install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"