summaryrefslogtreecommitdiff
path: root/cdm/PKGBUILD
blob: c42b957b901a9a31287c71ab60556c6862532066 (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
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: blacktea <blackteahamburger@outlook.com>

pkgname=cdm
pkgver=0.7
pkgrel=1
pkgdesc="The Console Display Manager"
arch=('any')
url="https://github.com/evertiro/cdm"
license=('GPL')
depends=('dialog' 'xorg-xinit' 'xorg-xdpyinfo' 'kbd')
conflicts=('cdm-git')
backup=('etc/cdmrc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/evertiro/cdm/archive/$pkgver.tar.gz")
sha512sums=('51591b953ec83c06a5a4407c6d6083ac11e7095c7fb22e491ed3d6626217462529d3dd3590c2a256273b3668c7246b13bfd1f2f682f5bd860ca8a34aaca0b6f5')

package() {
    install -d "$pkgdir/usr/bin" "$pkgdir/etc" "$pkgdir/usr/share/doc/cdm/themes"
    cd "$srcdir/$pkgname-$pkgver/src"
    install -Dm755 cdm cdm-xlaunch "$pkgdir/usr/bin"
    install -Dm644 cdmrc "$pkgdir/etc/cdmrc"
    install -Dm644 ../README.md profile.sh "$pkgdir/usr/share/doc/cdm"
    install -Dm644 ../themes/* "$pkgdir/usr/share/doc/cdm/themes"
}