summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distro/archlinux/PKGBUILD8
-rwxr-xr-xdistro/ubuntu/build5
2 files changed, 5 insertions, 8 deletions
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
index 6295f35..75575ba 100644
--- a/distro/archlinux/PKGBUILD
+++ b/distro/archlinux/PKGBUILD
@@ -8,15 +8,15 @@ license=('GPL')
depends=('gtk2' 'dbus' 'mate-conf' 'mate-desktop')
makedepends=('pkgconfig' 'intltool' 'mate-doc-utils')
options=('!libtool' '!emptydirs')
-source=(https://github.com/perberos/${pkgname}/tarball/${pkgver}
+source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download
mate-screensaver.pam)
install=mate-screensaver.install
-sha256sums=('b0ce68bd1185428fde8399e7077ba502f2400f8d1fb548dd463cdfd341fa582c'
+sha256sums=('a471d01e7a5a878ddaca15b79ee2c4e586f6d01b7003a90843070e1a32deada5'
'2744d1fc39da46fc681b7cf1c9230d2035b2bb8d9f510213fbe439c114eb76a2')
build() {
# this is a hack for tarballs on github
- cd *-${pkgname}-*
+ cd ${pkgname}
./autogen.sh \
--prefix=/usr --sysconfdir=/etc \
@@ -32,7 +32,7 @@ build() {
package() {
# this is a hack for tarballs on github
- cd *-${pkgname}-*
+ 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 b937217..64e484d 100755
--- a/distro/ubuntu/build
+++ b/distro/ubuntu/build
@@ -10,13 +10,10 @@ 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 ${pkgver}
# entramos a la carpeta
- cd *-${pkgname}-*
+ cd ${pkgname}
./autogen.sh \
--prefix=/usr --sysconfdir=/etc \