Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create PKGBUILD #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions packages/ckbcomp/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# AUR
# Maintainer: Nissar Chababy <funilrys at outlook dot com>
# Ex-Maintainer: Jeroen Bollen <jbinero at gmail dot comau>
# Mantainer: Mattia Procopio <matto.astro@gmail.com>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😂 it should be your name here @sc74

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, but you're the one who should appear, since you're holding the packages. I'm just a little help


pkgname=ckbcomp
pkgver=1.221
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=('083dcf8bb5b96f7e4d659df454355dd48ef85b49e08136570fa6ec270b61ef6aa46d54cd416a720a7abd1d524b100bc73230dc9edd20f6dd0c8be6f214b54aff')
conflicts=(ckbcomp-bin)

package() {
if [[ -d "${srcdir}/console-setup" ]]
then
cd console-setup
elif [[ -d "${srcdir}/console-setup-${pkgver}" ]]
then
cd console-setup-${pkgver}
else
echo "Source directory not found.".
exit 1
fi


if [[ ${?} != 0 ]]
then
cd console-setup-${pkgver}
fi

install -d ${pkgdir}/usr/bin/
install -m755 Keyboard/ckbcomp ${pkgdir}/usr/bin/