blob: db0122226df84eb8520d698b813c39c81a0fbb12 (
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
37
38
39
40
|
# Maintainer: Mantas Mikulėnas <grawity@gmail.com>
pkgname=kstart
pkgver=4.3
pkgrel=9
pkgdesc="Kerberos kinit supporting AFS and ticket refreshing"
arch=(i686 x86_64)
url="https://www.eyrie.org/~eagle/software/kstart/"
license=(custom)
depends=(keyutils krb5)
provides=(k5start=$pkgver krenew=$pkgver)
source=("https://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz"
"https://archives.eyrie.org/software/kerberos/$pkgname-$pkgver.tar.gz.asc"
"krenew.service"
"kstart.service"
"nm-dispatcher.sh")
sha256sums=('9527702a48789084e314e5c08d4115129467ca7ef25983d7214c9439d31ef2a6'
'SKIP'
'8cfb9591164038d05f37e52d95236969992b8ca7c74c4cfe59617119f96b3efd'
'df137ddc008f547aef9593e467d423f138030be545f74df034a74bbd97fbfc69'
'514010cea54d80d1d41fe1885dbdd49225e52192be466e88979f91bac37c8022')
validpgpkeys=('E784364E8DDE7BB370FBD9EAD15D313882004173')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
cd "$srcdir"
install -Dm644 krenew.service "$pkgdir"/usr/lib/systemd/user/krenew.service
install -Dm644 kstart.service "$pkgdir"/usr/lib/systemd/user/kstart.service
install -Dm755 nm-dispatcher.sh "$pkgdir"/usr/lib/NetworkManager/dispatcher.d/80-k5start
}
# vim: ts=2:sw=2:et:ft=sh
|