summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 29864bf7ab2725c06f7f773516b8edf6c6aa900b (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=17.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"
}