summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2bc8f5921e9b9c6bf671d9ef4db4c7912fa1941 (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
# Maintaoner: Yamada Hayao <development@fascode.net>

reponame="lightdm-config"
pkgname="${reponame}-git"
pkgver=r15.cb28c6d
pkgrel=1
pkgdesc="A simple tool for editing LightDM"
arch=('any')
url="https://github.com/FascodeNet/lightdm-config"
license=('SUSHI-WARE')
depends=('lightdm' )
makedepends=('git')
source=("git+https://github.com/FascodeNet/lightdm-config.git")
md5sums=('SKIP')

pkgver() {
  cd "${reponame}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    install -m 755 -D "${srcdir}/lightdm-config/lightdm-config" "${pkgdir}/usr/bin/lightdm-config"
    install -m 755 -D "${srcdir}/lightdm-config/LICENSE.md" "${pkgdir}/usr/share/licenses/lightdm-config/LICENSE.md"
}