mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 17:22:07 +01:00
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
|
|
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
|
|
pkgname=mate-common
|
|
pkgver=1.14.0
|
|
pkgrel=0
|
|
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="c09fb1f55beac76d314827c0286b0844 mate-common-1.14.0.tar.xz"
|
|
sha256sums="04b7196ac6b301cc88dc31e88ef19a9732ac338c9bd5c3d9b42f6fc387e56cf6 mate-common-1.14.0.tar.xz"
|
|
sha512sums="fe0a824796dd65756f7dcd351370f3f537d9990b422cb365419f2f6ec446b6ec9660be35685847ff8ae295a80cda8780a968ab11441c49ac152eb8e50f30dc6a mate-common-1.14.0.tar.xz"
|