From dcf0d2d114b85ea77b36ae762d4d4e38c9a41445 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 4 Aug 2014 18:10:35 +0200 Subject: Clean up PKGBUILDs --- PKGBUILD | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 68f5fdf..52d182c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,31 +1,34 @@ -# Maintainer: AndreasBWagner -# Contributor: Mark Taylor - 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" +arch=(any) 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") + +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') + '8cde9c8f6b4de6c7c2ebb27589a5116e' + '48ebb9016f6138334194103caba4483f') package() { cd kbddvp-$pkgver - mkdir -p $pkgdir/usr/share/X11/xkb/{symbols,types} + + 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 + ./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 } -- cgit v1.2.3-70-g09d2