summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--BigBagKbdTrixXKB-git.install12
-rw-r--r--PKGBUILD28
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..236c4528489
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sat Aug 4 06:01:42 UTC 2018
+pkgbase = bigbagkbdtrixxkb-git
+ pkgdesc = DreymaR's Big Bag of Keyboard Tricks For Linux. Colemak mappings and modifications.
+ pkgver = r9.9036abe
+ pkgrel = 1
+ url = https://github.com/DreymaR/BigBagKbdTrixXKB
+ install = BigBagKbdTrixXKB-git.install
+ arch = any
+ makedepends = git
+ depends = bash
+ provides = bigbagkbdtrixxkb
+ conflicts = bigbagkbdtrixxkb
+ source = git://github.com/DreymaR/BigBagKbdTrixXKB.git
+ md5sums = SKIP
+
+pkgname = bigbagkbdtrixxkb-git
+
diff --git a/BigBagKbdTrixXKB-git.install b/BigBagKbdTrixXKB-git.install
new file mode 100644
index 00000000000..8867e675434
--- /dev/null
+++ b/BigBagKbdTrixXKB-git.install
@@ -0,0 +1,12 @@
+print_header() {
+ echo ' >>> Run the install script with `$ cd /usr/sharj/BigBagKbdTrixXKB; sudo ./install-dreymar-xmod.sh`'
+ echo ' >>> Configuration can be done with `$ dreymar-setxkb`'
+}
+
+post_install() {
+ print_header
+}
+
+post_upgrade() {
+ print_header
+}
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0e5131aafce
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Rowan Decker <rowan@rowandecker.com>
+pkgname=bigbagkbdtrixxkb-git
+pkgver=r9.9036abe
+pkgrel=1
+pkgdesc="DreymaR's Big Bag of Keyboard Tricks For Linux. Colemak mappings and modifications."
+arch=('any')
+url="https://github.com/DreymaR/BigBagKbdTrixXKB"
+depends=('bash')
+makedepends=('git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('git://github.com/DreymaR/BigBagKbdTrixXKB.git')
+install=BigBagKbdTrixXKB-git.install
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/BigBagKbdTrixXKB"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/BigBagKbdTrixXKB"
+ cd "$srcdir/BigBagKbdTrixXKB"
+ chmod +x *.sh
+ cp -r * "$pkgdir/usr/share/BigBagKbdTrixXKB"
+ ln -s /usr/share/BigBagKbdTrixXKB/setxkb.sh "$pkgdir/usr/bin/dreymar-setxkb"
+}