X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 7CED9DC0089 for ; Tue, 30 Dec 2014 08:07:41 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id x13so20277270wgg.19 for ; Tue, 30 Dec 2014 00:07:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=swtfgrFdOgizKQLqWdG+UO0JzmNH8zQ1OEFIr6pKl8U=; b=krV9E/6P8hG9jhpXQzoiJhtpQBD+R0ZiDnrdTALqwVh/WSYjXBveEwKfSMbRrWcXnM bP5GkNaGiQiiQ4gzeoZVTx4ZjVk1OiIB3at29TS6KGCs7cyY4Qyhix5avW5hfhIyHzmn BQZYU6hlpIc8l8QjKOKMomPWNpJu6TarEZBUfR/K7jhgcJHt8ym01G0RGaOoKcNJRxkC ux0AOFnVR73tCd5obTseoz+bEJOcaw7XBDu2Iqz9fympxHQ+RWK7g+6Q060hN6gTNFIc oFjmjtlmXHL5QMzW4myx2CuRzpwvkc4sBf8cguxJ3DWUAApSFIJxbK2GFPShzDTlMEPv JuvQ== X-Received: by 10.180.88.33 with SMTP id bd1mr103305360wib.10.1419926860144; Tue, 30 Dec 2014 00:07:40 -0800 (PST) Received: from alpine.my.domain (84.127.141.73.dyn.user.ono.com. [84.127.141.73]) by mx.google.com with ESMTPSA id nj9sm42427601wic.10.2014.12.30.00.07.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Dec 2014 00:07:39 -0800 (PST) From: AmatCoder To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/dmz-cursor-theme: new aport Date: Tue, 30 Dec 2014 08:02:44 +0000 Message-Id: <1419926564-7138-1-git-send-email-amatcoder@gmail.com> X-Mailer: git-send-email 2.2.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/dmz-cursor-theme/APKBUILD | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testing/dmz-cursor-theme/APKBUILD diff --git a/testing/dmz-cursor-theme/APKBUILD b/testing/dmz-cursor-theme/APKBUILD new file mode 100644 index 0000000..1b92ea8 --- /dev/null +++ b/testing/dmz-cursor-theme/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: August Klein +# Maintainer: August Klein +pkgname=dmz-cursor-theme +pkgver=0.4.4 +pkgrel=0 +pkgdesc="DMZ cursor theme" +url="http://jimmac.musichall.cz" +arch="noarch" +license="CC-BY-SA" +depends="" +depends_dev="" +makedepends="xcursorgen" +install="" +subpackages="dmz-aa-cursor-theme:aa" +source="http://ftp.de.debian.org/debian/pool/main/d/$pkgname/"$pkgname"_"$pkgver".tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir"/DMZ-White/pngs + ./make.sh || return 1 + cd "$_builddir"/DMZ-Black/pngs + ./make.sh || return 1 +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/share/icons/Vanilla-DMZ/cursors || return 1 + cp -a DMZ-White/xcursors/* "$pkgdir"/usr/share/icons/Vanilla-DMZ/cursors || return 1 + install -Dm644 DMZ-White/index.theme "$pkgdir"/usr/share/icons/Vanilla-DMZ/index.theme +} + +aa() { + cd "$_builddir" + mkdir -p "$subpkgdir"/usr/share/icons/Vanilla-DMZ-AA/cursors || return 1 + cp -a DMZ-Black/xcursors/* "$subpkgdir"/usr/share/icons/Vanilla-DMZ-AA/cursors || return 1 + install -Dm644 DMZ-Black/index.theme "$subpkgdir"/usr/share/icons/Vanilla-DMZ-AA/index.theme +} + +md5sums="06fbab13df89c5770ce61b0e3e31e5f6 dmz-cursor-theme_0.4.4.tar.gz" +sha256sums="46af4cf1356df799f9ee94451f05d0bdbb8d82e54bdeae3f32fa107602359981 dmz-cursor-theme_0.4.4.tar.gz" +sha512sums="e0f455e3b66c0acb87eb9f017e7d7e6e16782a58c8c3a3518c879d1251372beaf92bdf87775ee72ff6eb477385f4f58e6d00479967d634337c5fae766179a5d3 dmz-cursor-theme_0.4.4.tar.gz" -- 2.2.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---