diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-11-09 11:58:09 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2015-11-09 11:58:47 +0100 |
commit | 7da500c9cb6a9f8dfe71759edf151aeded930b69 (patch) | |
tree | 87b9c4a695ca949ee866f4f3407517a4bad2fcd9 /community/mate-common | |
parent | 514e83f4b6c65acf572205399dff1e49936cc786 (diff) | |
download | aports-7da500c9cb6a9f8dfe71759edf151aeded930b69.tar.bz2 aports-7da500c9cb6a9f8dfe71759edf151aeded930b69.tar.xz |
main/mate-common: move to community
Diffstat (limited to 'community/mate-common')
-rw-r--r-- | community/mate-common/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/mate-common/APKBUILD b/community/mate-common/APKBUILD new file mode 100644 index 0000000000..71ba260ae3 --- /dev/null +++ b/community/mate-common/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Alan Lacerda <alacerda@alpinelinux.org> +# Maintainer: Alan Lacerda <alacerda@alpinelinux.org> +pkgname=mate-common +pkgver=1.10.0 +pkgrel=1 +pkgdesc="Common scripts and macros" +url="http://mate-desktop.org/" +arch="noarch" +license="GPLv3+" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$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 \ + --sysconfdir=/etc \ + --prefix=/usr \ + || return 1 + make || return 1 + +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install || return 1 +} + +md5sums="6b3cd7ca22e5771424cf680214103727 mate-common-1.10.0.tar.xz" +sha256sums="a2193e5d2ae78aa3f7bdf5636fb46d8142d417be76885758bf3795bc5e73d822 mate-common-1.10.0.tar.xz" +sha512sums="1b183fcfcef1f52b78829c57ebfcf5a3fc5720ca2049e16339df947436638c188ef04b825e7e28723e24d60108bee0f6971c8395abf8af5ea40d3b6397b99ba4 mate-common-1.10.0.tar.xz" |