aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 52d182c293d0b1858dd3a16709ed3979547fc6dd (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
32
33
34
pkgname=programmers-dvorak
pkgver=1.2
pkgrel=4

pkgdesc="Variant of the Dvorak keyboard layout designed for programmers"
url="http://www.kaufmann.no/roland/dvorak/index.html"
arch=(any)
license=('custom')

depends=('libxslt')

install=programmers-dvorak.install

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
}