blob: de964a2394f8154ac7abe3dd59c3f56aa43c2a1b (
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
35
36
|
# Maintainer: Ivy Foster <code@escondida.tk>
# Contributor: alive4ever <alive4ever at live.com>
# Contributor: Earnest
pkgname=opendoas-git
pkgver=6.0.r56.g8b2a776
pkgrel=1
pkgdesc='Run commands as super user or another user'
arch=(x86_64 i686)
url='https://github.com/Duncaen/OpenDoas'
license=(custom:ISC)
depends=(pam)
provides=(opendoas)
conflicts=(opendoas)
makedepends=(git)
install=opendoas.install
source=(
'opendoas::git+https://github.com/Duncaen/OpenDoas.git'
)
sha256sums=(SKIP)
pkgver() {
cd opendoas
git describe --long --tags | sed 's,^v,,; s|-\(.*\)-g|.r\1.g|'
}
build() {
cd opendoas
./configure --prefix=/usr --with-timestamp
make
}
package() {
cd opendoas
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/opendoas-git/LICENSE
}
|