summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 23:00:56 -0300
committerPerberos <[email protected]>2011-12-01 23:00:56 -0300
commit1c69f467452c8f34d099019d463980ad57811192 (patch)
tree72ab1456032eb3c29f7fe327b5da6ac8e734507a /distro
downloadmate-polkit-1c69f467452c8f34d099019d463980ad57811192.tar.bz2
mate-polkit-1c69f467452c8f34d099019d463980ad57811192.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'distro')
-rw-r--r--distro/archlinux/PKGBUILD30
-rwxr-xr-xdistro/ubuntu/build25
2 files changed, 55 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
new file mode 100644
index 0000000..7ef376d
--- /dev/null
+++ b/distro/archlinux/PKGBUILD
@@ -0,0 +1,30 @@
+pkgname=mate-polkit
+pkgver=2011.11.16
+pkgrel=1
+pkgdesc="PolicyKit integration for the MATE desktop"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/PolicyKit"
+license=('LGPL')
+depends=('polkit>=0.101' 'gtk2')
+makedepends=('intltool' 'gobject-introspection')
+options=('!emptydirs' '!libtool')
+source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
+sha256sums=('acd95c8ded1a5446b0d199b7fd1a88cdb4b4975343667cadc7737ebf171c4cdb')
+url="http://matsusoft.com.ar/projects"
+groups=('mate')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ ./autogen.sh \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/polkit-mate \
+ --disable-static || return 1
+ make || return 1
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="${pkgdir}" install || return 1
+}
diff --git a/distro/ubuntu/build b/distro/ubuntu/build
new file mode 100755
index 0000000..001a202
--- /dev/null
+++ b/distro/ubuntu/build
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# fill it
+pkgname=mate-polkit
+pkgver=2011.10.29
+pkgrel=1
+pkgdesc="PolicyKit integration for the MATE desktop"
+#depends="polkit, gtk2"
+# editar esta funcion!
+build() {
+ cd $pkgsrc
+ # descomprimir
+ tar xvzf download
+ # entramos a la carpeta
+ cd ${pkgname}
+
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib/polkit-mate \
+ --disable-static
+ make
+ make DESTDIR="${pkgdir}" install
+}
+
+# esto incluye la parte que se repite en la mayoria de los builds
+. /usr/share/mate-doc-utils/mate-debian.sh