diff options
Diffstat (limited to 'unmaintained/cinnamon-control-center/APKBUILD')
-rw-r--r-- | unmaintained/cinnamon-control-center/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/unmaintained/cinnamon-control-center/APKBUILD b/unmaintained/cinnamon-control-center/APKBUILD new file mode 100644 index 0000000000..451f85adb6 --- /dev/null +++ b/unmaintained/cinnamon-control-center/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=cinnamon-control-center +pkgver=2.0.9 +pkgrel=0 +pkgdesc="The Control Center for Cinnamon" +url="https://github.com/linuxmint/cinnamon-control-center" +arch="all" +license="GPL" +depends="" +depends_dev="gnome-menus-dev libxslt-dev cinnamon-desktop-dev libnotify-dev upower-dev + cinnamon-settings-daemon-dev krb5-dev libxrandr-dev libxxf86misc-dev polkit-dev + libxkbfile-dev networkmanager-dev ibus-dev network-manager-applet-dev" +makedepends="$depends_dev automake autoconf libtool intltool gnome-common" +install="" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$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" + ./autogen.sh \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-ibus \ + --disable-update-mimedb \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/*/*/*.la +} + +md5sums="4f018678e7c72ee4528dad65bc6e4e53 cinnamon-control-center-2.0.9.tar.gz" +sha256sums="63bb179a50d5f873ed1c19de97966592eedbc055ce2829e4298223a75fc33b4e cinnamon-control-center-2.0.9.tar.gz" +sha512sums="b1e248d582035f32b645a0110b4d84f261261c3e39f33bcbeeeea6aec816557e419a19828467fc6248986e5aafbbd654e25e0efcf65cdc0ffb83d719e2678a23 cinnamon-control-center-2.0.9.tar.gz" |