aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 68f5fdf390ab2fcd72cfe8439dc93e6500e49500 (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
25
26
27
28
29
30
31
# Maintainer: AndreasBWagner <AndreasBWagner@pointfree.net>
# Contributor: Mark Taylor <skymt0@gmail.com>

pkgname=programmers-dvorak
pkgver=1.2
pkgrel=4
pkgdesc="Variant of the Dvorak keyboard layout designed for programmers"
arch=(any)
url="http://www.kaufmann.no/roland/dvorak/index.html"
license=('custom')
install=programmers-dvorak.install
depends=('libxslt')
DLAGENTS=('http::/usr/bin/curl --user-agent "Mozilla/5.0 (X11; Linux i686; rv:2.0b3pre) Gecko/20100731 Firefox/4.0b3pre" -fLC - --retry 3 --retry-delay 3 -o %o %u')
source=("http://www.kaufmann.no/downloads/linux/kbddvp-1_2_1-src-linux.tgz"
		"http://kaufmann.no/downloads/linux/dvp-1_2_1.map.gz"
		"LICENSE")
noextract=("http://kaufmann.no/downloads/linux/dvp-1_2_1.map.gz")
md5sums=('6d7797f1514be62cb01fbdf3a7e785a4'
		 '8cde9c8f6b4de6c7c2ebb27589a5116e'
		 '48ebb9016f6138334194103caba4483f')

package() {
	cd kbddvp-$pkgver
	mkdir -p $pkgdir/usr/share/X11/xkb/{symbols,types}
	chmod +x *.sh
	./dvp.install.sh $pkgdir/usr/share/X11/xkb
	mkdir -p $pkgdir/usr/share/$pkgname
	install -Dm644 $srcdir/dvp-1_2_1.map.gz $pkgdir/usr/share/kbd/keymaps/i386/dvorak/dvp.map.gz
	install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
	install -Dm755 *.sh $pkgdir/usr/share/$pkgname
}