forked from evertiro/cdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
35 lines (31 loc) · 1.29 KB
/
PKGBUILD
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
31
32
33
34
35
# Maintainer: J Honorio Casado Fdez <[email protected]>
# Contributor: Jakub Klinkovský <[email protected]>
# Contributor: Adlai Chandrasekhar <[email protected]>
# Contributor: Daniel J Griffiths <[email protected]>
# Contributor: Mark Foxwell <[email protected]>
pkgname=cdm-simple-git
_pkgname=cdm-simple
pkgver=1.0
pkgrel=1
pkgdesc="Simple Console Display Manager that supports .xinitrc, default selection with timeout, doesn't depend on dialog/ncurses and doesn't clear the screen."
arch=('any')
url="https://github.com/jhcasado/cdm-simple"
license=('GPL')
makedepends=('tar')
depends=('bash')
provides=('cdm')
conflicts=('cdm')
backup=('etc/cdmrc')
source=("https://github.com/jhcasado/${_pkgname}/archive/v${pkgver}.tar.gz")
md5sums=('1c8815e8312ea08fc7f9166d32866301')
package() {
install -d ${pkgdir}/{usr/{bin,share/doc/cdm,share/cdm},etc/profile.d}
cd "$srcdir/$_pkgname-$pkgver"
install -Dm644 -t "$pkgdir/usr/share/doc/cdm" README.md
install -Dm644 -T README.md "$pkgdir/usr/share/doc/cdm/README"
cd "$srcdir/$_pkgname-$pkgver/src"
install -Dm755 -t "$pkgdir/usr/bin" cdm cdm-xlaunch
install -Dm644 -t "$pkgdir/etc" cdmrc
install -Dm644 -t "$pkgdir/usr/share/cdm" cdm-profile.sh
install -Dm755 -T cdm-profile.sh "$pkgdir/etc/profile.d/zzz-cdm-profile.sh"
}