From 99b77b6da47f2cf186616a5bdaabf4fb23ff9ebc Mon Sep 17 00:00:00 2001 From: Perberos Date: Sun, 6 Nov 2011 11:02:09 -0300 Subject: actualizando archlinux script y ubuntu script --- distro/archlinux/PKGBUILD | 14 ++++++++------ distro/ubuntu/build | 9 ++++++--- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD index 21890db..56f7b02 100644 --- a/distro/archlinux/PKGBUILD +++ b/distro/archlinux/PKGBUILD @@ -1,5 +1,5 @@ pkgname=mate-screensaver -pkgver=2011.11.04 +pkgver=2011.11.06 pkgrel=1 pkgdesc='Screensaver for MATE' arch=('i686' 'x86_64') @@ -7,14 +7,15 @@ license=('GPL') depends=('gtk2' 'dbus' 'mate-conf' 'mate-desktop' 'mate-menus') makedepends=('pkgconfig' 'intltool' 'mate-doc-utils') options=('!libtool' '!emptydirs') -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.10/${pkgname}.tar.gz +source=(https://github.com/perberos/${pkgname}/tarball/${pkgver} mate-screensaver.pam) install=mate-screensaver.install -sha256sums=('5b0dabd93635c9cb15bb150cb2f2093232764a97227fe9b4f927db640d35775f' - '2744d1fc39da46fc681b7cf1c9230d2035b2bb8d9f510213fbe439c114eb76a2') +sha256sums=('b0ce68bd1185428fde8399e7077ba502f2400f8d1fb548dd463cdfd341fa582c' + '2744d1fc39da46fc681b7cf1c9230d2035b2bb8d9f510213fbe439c114eb76a2') build() { - cd ${pkgname} + # this is a hack for tarballs on github + cd *-${pkgname}-* ./autogen.sh \ --prefix=/usr --sysconfdir=/etc \ @@ -29,7 +30,8 @@ build() { } package() { - cd ${pkgname} + # this is a hack for tarballs on github + cd *-${pkgname}-* make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install || return 1 diff --git a/distro/ubuntu/build b/distro/ubuntu/build index 3478e82..b937217 100755 --- a/distro/ubuntu/build +++ b/distro/ubuntu/build @@ -2,7 +2,7 @@ # fill it pkgname=mate-screensaver -pkgver=2011.11.04 +pkgver=2011.11.06 pkgrel=1 pkgdesc='Screensaver for MATE' depends=('gtk2' 'dbus' 'mate-conf' 'mate-desktop' 'mate-menus') @@ -10,10 +10,13 @@ makedepends=('pkgconfig' 'intltool' 'mate-doc-utils') # editar esta funcion! build() { cd $pkgsrc + # obtener el archivo de github + wget -c https://github.com/perberos/${pkgname}/tarball/${pkgver} + # descomprimir - tar xvzf download + tar xvzf ${pkgver} # entramos a la carpeta - cd ${pkgname} + cd *-${pkgname}-* ./autogen.sh \ --prefix=/usr --sysconfdir=/etc \ -- cgit v1.2.1