blob: a554b46cec73fcbddf7225e4ca2af6781f49f6ab (
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="dmc"
pkgname="${reponame}-git"
pkgver=r45.2fc4960
pkgrel=1
pkgdesc="An all-in-one tool for configuring major display managers"
arch=('any')
url="https://github.com/FascodeNet/dmc"
license=('SUSHI-WARE')
depends=('bash' "vi" "util-linux" "crudini")
makedepends=('git')
source=("git+https://github.com/FascodeNet/dmc.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}/dmc/dmc" "${pkgdir}/usr/bin/dmc"
install -m 755 -D "${srcdir}/dmc/LICENSE.md" "${pkgdir}/usr/share/licenses/dmc/LICENSE.md"
}
|