summaryrefslogtreecommitdiff
path: root/distro/archlinux/PKGBUILD
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-04 22:16:15 -0300
committerPerberos <[email protected]>2011-11-04 22:16:15 -0300
commitfff4ecc82f2bcfa7427596e7ad9c3769fcab040b (patch)
treeac4f1812a7991609c9c32c776daede2d8492f7b5 /distro/archlinux/PKGBUILD
downloadmate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.bz2
mate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.xz
first commit
Diffstat (limited to 'distro/archlinux/PKGBUILD')
-rw-r--r--distro/archlinux/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
new file mode 100644
index 0000000..e642901
--- /dev/null
+++ b/distro/archlinux/PKGBUILD
@@ -0,0 +1,35 @@
+pkgname=mate-screensaver
+pkgver=2.10.2
+pkgrel=1
+pkgdesc='Screensaver for MATE'
+arch=('i686' 'x86_64')
+url='http://system-tools-backends.freedesktop.org/'
+license=('GPL')
+depends=('gtk2' 'dbus' 'mate-conf' 'mate-desktop' 'mate-menus')
+makedepends=('pkgconfig' 'intltool')
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.10/${pkgname}.tar.gz)
+#install=system-tools-backends.install
+sha256sums=('5b0dabd93635c9cb15bb150cb2f2093232764a97227fe9b4f927db640d35775f')
+
+build() {
+ cd ${pkgname}
+
+ ./configure \
+ --prefix=/usr --sysconfdir=/etc \
+ --mandir=/usr/share \
+ --disable-static \
+ --libexecdir=/usr/lib/${pkgname} || return 1
+
+ make || return 1
+}
+
+package() {
+ cd ${pkgname}
+
+ make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install || return 1
+
+ install -m755 -d "${pkgdir}/usr/share/mateconf/schemas"
+ mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
+ rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas
+}