X-Original-To: alpine-aports@lists.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id A9F9ADC011D for ; Thu, 15 Jan 2015 23:54:05 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id hi2so800959wib.0 for ; Thu, 15 Jan 2015 15:54:04 -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=Nwo4TR8iQ0AoAoMtYUFvt7g5FmS9FlrW0UAorvlM8KA=; b=qOO0RcKlRcL3TgClH4B5FYPNdsG5HOBOXPwi4WiN6joEA6HqqhDA8Bh2qUjStv1Dlq FA77Gf7ltgTk3RCKqP4y0tWnkEaifaA9Jk3TvP1yTnJydTPJqcASR42EzO/czeGVmN9g Vd8lOJmnxYozmjMJYMSrXWA3ePPghzryYR04XyE0xah7ot9CEwYYQfvX3VP66Bnitikv tcLhyiwjCk/H801CgNtkkhmOOAqUPGJaxxNiwu9XE0h3Ux9yg+gyuRBUGBM3M1ikeVb2 fx9h9TbG73BXPecuu3jwNz4HH4oXiZodZY5nhG8Bw8BbDHumQw0KSRibpvGITZeYjdKY WT0w== X-Received: by 10.180.75.237 with SMTP id f13mr621018wiw.69.1421366044247; Thu, 15 Jan 2015 15:54:04 -0800 (PST) Received: from alpine.my.domain (62.42.123.158.dyn.user.ono.com. [62.42.123.158]) by mx.google.com with ESMTPSA id j10sm3925989wjn.23.2015.01.15.15.54.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Jan 2015 15:54:03 -0800 (PST) From: AmatCoder To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/ghex: new aport Date: Thu, 15 Jan 2015 23:49:01 +0000 Message-Id: <1421365741-27308-1-git-send-email-amatcoder@gmail.com> X-Mailer: git-send-email 2.2.2 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/ghex/APKBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 testing/ghex/APKBUILD diff --git a/testing/ghex/APKBUILD b/testing/ghex/APKBUILD new file mode 100644 index 0000000..7009e90 --- /dev/null +++ b/testing/ghex/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: August Klein +# Maintainer: August Klein +pkgname=ghex +pkgver=3.10.1 +pkgrel=0 +pkgdesc="A hex editor for GNOME" +url="https://wiki.gnome.org/Apps/Ghex" +arch="all" +license="GPL" +depends="dconf" +depends_dev="gtk+3.0-dev" +makedepends="$depends_dev itstool" +install="" +subpackages="$pkgname-dev $pkgname-lang $pkgname-doc" +source="http://ftp.gnome.org/pub/GNOME/sources/ghex/3.10/$pkgname-$pkgver.tar.xz" + +_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" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-schemas-compile \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" DATADIRNAME=share install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="bcd5af85a8e127da29257c9ca6aad5ee ghex-3.10.1.tar.xz" +sha256sums="34b66cb5c84410c420df72f229d25aee5979e58048a246ed719b046f0c241132 ghex-3.10.1.tar.xz" +sha512sums="bfb7f4af1c36698571ea176fd4bbba2ea11a337a8e02976da6b784bd5cc634a4b853e36918ebaeea382d680e796343838ce4709ac720da86755628894043c28c ghex-3.10.1.tar.xz" -- 2.2.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---