diff options
-rw-r--r-- | testing/muffin/APKBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/muffin/APKBUILD b/testing/muffin/APKBUILD new file mode 100644 index 0000000000..1447db7d6a --- /dev/null +++ b/testing/muffin/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=muffin +pkgver=2.0.5 +pkgrel=0 +pkgdesc="Cinnamon window manager based on Mutter" +url="https://github.com/linuxmint/muffin" +arch="all" +license="GPL" +depends="" +depends_dev="glib-dev dconf-dev libcanberra-dev gobject-introspection-dev gtk+3.0-dev + cinnamon-desktop-dev clutter-dev startup-notification-dev" +makedepends="$depends_dev autoconf automake libtool gnome-common intltool gnome-doc-utils + zenity" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/archive/$pkgver.tar.gz" + +_builddir="$srcdir/muffin-$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 \ + --disable-static \ + --disable-schemas-compile \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="80e47a1393389f79b968d3cc7180c997 muffin-2.0.5.tar.gz" +sha256sums="81a57d452ea88ea926b284248033f021960400b3b9d13f5a334a77cf3bd4c7ee muffin-2.0.5.tar.gz" +sha512sums="5d19c58b2ff53fec906bfe99f7431f673316cd9adb77d2ee1f8d27b65f071b94004ce81f439e458713e7476663300bb437674fbde28b0492ca888de040d04cd8 muffin-2.0.5.tar.gz" |