diff options
Diffstat (limited to 'linhes/ckbcomp')
| -rwxr-xr-x | linhes/ckbcomp/.SRCINFO | 13 | ||||
| -rw-r--r-- | linhes/ckbcomp/.gitignore | 4 | ||||
| -rw-r--r--[-rwxr-xr-x] | linhes/ckbcomp/PKGBUILD | 49 |
3 files changed, 35 insertions, 31 deletions
diff --git a/linhes/ckbcomp/.SRCINFO b/linhes/ckbcomp/.SRCINFO new file mode 100755 index 0000000..d41c3d6 --- /dev/null +++ b/linhes/ckbcomp/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ckbcomp + pkgdesc = Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol + pkgver = 1.244 + pkgrel = 1 + url = https://salsa.debian.org/installer-team/console-setup + arch = any + license = GPL-2.0-or-later + makedepends = git + source = console-setup-1.244.tar.gz::https://salsa.debian.org/installer-team/console-setup/-/archive/1.244/console-setup-1.244.tar.gz + sha256sums = f20bde550c8080140a062538d4157011152e57dcca3b9945fcdc6f1a8e5db383 + +pkgname = ckbcomp + depends = perl diff --git a/linhes/ckbcomp/.gitignore b/linhes/ckbcomp/.gitignore new file mode 100644 index 0000000..018a3de --- /dev/null +++ b/linhes/ckbcomp/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore diff --git a/linhes/ckbcomp/PKGBUILD b/linhes/ckbcomp/PKGBUILD index 2e5b991..bcd46ce 100755..100644 --- a/linhes/ckbcomp/PKGBUILD +++ b/linhes/ckbcomp/PKGBUILD @@ -1,39 +1,26 @@ -# Maintainer: Nissar Chababy <funilrys at outlook dot com> -# Ex-Maintainer: Jeroen Bollen <jbinero at gmail dot comau> +# Maintainer: +# Contributor: Nissar Chababy <funilrys at outlook dot com> +# Contributor: Jeroen Bollen <jbinero at gmail dot comau> -pkgname=ckbcomp -pkgver=1.234 +_pkgname="ckbcomp" +pkgname="$_pkgname" +pkgver=1.244 pkgrel=1 pkgdesc="Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol" -arch=(any) -url="http://anonscm.debian.org/cgit/d-i/console-setup.git/" -license=('GPL2') -depends=('perl') -source=("http://ftp.debian.org/debian/pool/main/c/console-setup/console-setup_${pkgver}.tar.xz") -sha512sums=('902da702a02b5b088d2f0838611d6ca90ff164237c74755071bc456a13e6cf542d72cf0ebd2704c265b509cd9479a2216a366dabfdb832ebecc79970eadf67d6') -conflicts=(ckbcomp-bin) +url="https://salsa.debian.org/installer-team/console-setup" +license=('GPL-2.0-or-later') +arch=('any') -package() { - if [[ -d "${srcdir}/console-setup" ]] - then - cd console-setup - elif [[ -d "${srcdir}/console-setup-${pkgver}" ]] - then - cd console-setup-${pkgver} - elif [[ -d "${srcdir}/work" ]] - then - cd work - else - echo "Source directory not found.". - exit 1 - fi +makedepends=('git') +_pkgsrc="console-setup-$pkgver" +_pkgext="tar.gz" +source=("$_pkgsrc.$_pkgext"::"$url/-/archive/$pkgver/$_pkgsrc.$_pkgext") +sha256sums=('f20bde550c8080140a062538d4157011152e57dcca3b9945fcdc6f1a8e5db383') - if [[ ${?} != 0 ]] - then - cd console-setup-${pkgver} - fi +package() { + depends+=('perl') - install -d ${pkgdir}/usr/bin/ - install -m755 Keyboard/ckbcomp ${pkgdir}/usr/bin/ + cd "$_pkgsrc" + install -Dm755 Keyboard/ckbcomp -t "$pkgdir/usr/bin/" } |
