From 3042ec830fb8ecbaae19672a6c03f65c744cc1f7 Mon Sep 17 00:00:00 2001 From: Chakib Benziane Date: Thu, 30 Jul 2020 16:07:33 +0100 Subject: [PATCH] initial --- cdm-git/.SRCINFO | 21 +++++++++++++++++++++ cdm-git/.gitignore | 4 ++++ cdm-git/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 cdm-git/.SRCINFO create mode 100644 cdm-git/.gitignore create mode 100644 cdm-git/PKGBUILD diff --git a/cdm-git/.SRCINFO b/cdm-git/.SRCINFO new file mode 100644 index 0000000..2c6b5e8 --- /dev/null +++ b/cdm-git/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = cdm-git + pkgdesc = The Console Display Manager + pkgver = r144.719b4a5 + pkgrel = 2 + epoch = 1 + url = https://github.com/ghost1227/cdm + arch = any + license = GPL + makedepends = git + depends = dialog + depends = xorg-xinit + depends = xorg-xdpyinfo + depends = kbd + provides = cdm + conflicts = cdm + backup = etc/cdmrc + source = git://github.com/ghost1227/cdm.git + md5sums = SKIP + +pkgname = cdm-git + diff --git a/cdm-git/.gitignore b/cdm-git/.gitignore new file mode 100644 index 0000000..9386e3d --- /dev/null +++ b/cdm-git/.gitignore @@ -0,0 +1,4 @@ +*.pkg.tar.xz +/cdm +/pkg +/src diff --git a/cdm-git/PKGBUILD b/cdm-git/PKGBUILD new file mode 100644 index 0000000..e5422af --- /dev/null +++ b/cdm-git/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Alex Kubica +# Contributor: Faule Socke +# Contributor: Jakub Klinkovský +# Contributor: Adlai Chandrasekhar +# Contributor: Daniel J Griffiths +# Contributor: Mark Foxwell + +pkgname=cdm-git +_pkgname="cdm" +pkgver=r144.719b4a5 +pkgrel=2 +pkgdesc="The Console Display Manager" +arch=('any') +url="https://github.com/ghost1227/cdm" +license=('GPL') +makedepends=('git') +depends=('dialog' 'xorg-xinit' 'xorg-xdpyinfo' 'kbd') +provides=('cdm') +conflicts=('cdm') +backup=('etc/cdmrc') +source=('git://github.com/ghost1227/cdm.git') +md5sums=('SKIP') +epoch=1 + +pkgver() { + cd "$_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + install -d ${pkgdir}/{usr/{bin,share/{doc/cdm,cdm/themes}},etc/profile.d} + + cd "$srcdir/$_pkgname" + install -Dm644 -T README.md "$pkgdir/usr/share/doc/cdm/README" + install -Dm644 -t "$pkgdir/usr/share/cdm/themes" themes/* + + cd "$srcdir/$_pkgname/src" + install -Dm755 -t "$pkgdir/usr/bin" cdm cdm-xlaunch + install -Dm644 -t "$pkgdir/etc" cdmrc + install -Dm755 -T profile.sh "$pkgdir/etc/profile.d/zzz-cdm.sh" +}