blob: 6854def331c16e0efecfbf334cc61d80b8b78968 (
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
|
# Maintainer: Akrai <drokergeek@gmail.com>
pkgname=systemd-guest-user
pkgver=18.b2ba022
pkgrel=1
url='https://github.com/a-m-s/systemd-guest-user'
pkgdesc='A simple systemd configurations for guest user support'
arch=(any)
license=(GPL3)
depends=(systemd)
#source=("${pkgname}::git://github.com/a-m-s/$pkgname") commenting this line in favor of using https as asked by an user
source=("${pkgname}::git+https://github.com/a-m-s/$pkgname")
md5sums=(SKIP)
function pkgver() {
cd "$pkgname"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
function package() {
cd "$pkgname"
install -vd "$pkgdir/usr/lib" "$pkgdir/usr/share/licenses/$pkgname"
cp -vr */ "$pkgdir/usr/lib"
cp -v LICENSE.md "$pkgdir/usr/share/licenses/$pkgname"
}
|