summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa5e9d4884fdfb651ddf46a91741dbcfeda5ba6a (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
# Maintainer: Akrai <drokergeek@gmail.com>
# Thanks to azurata and Skidnik for their jobs

pkgname=systemd-guest-user
pkgver=33.2
pkgrel=1
url='https://github.com/Akrai/systemd-guest-user'
pkgdesc='A simple systemd configurations for guest user support'
arch=(any)
license=(GPL3)
depends=("systemd")
makedepends=("git")
install=systemd-guest-user.install
#source=("${pkgname}::git://github.com/Akrai/$pkgname") commenting this line in favor of using https as asked by an user
source=("${pkgname}::git+https://github.com/Akrai/$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"
}