Permalink
Browse files

set patch on archlinux script

  • Loading branch information...
1 parent 321ccc5 commit db0b7a3a63db55669207ef45df22e48deac33431 @perberos perberos committed Jan 30, 2012
Showing with 5 additions and 7 deletions.
  1. +5 −7 distro/archlinux/PKGBUILD
@@ -8,15 +8,13 @@ depends=('mate-conf' 'mate-dialogs' 'libgtop' 'libwnck') # 'libcanberra' 'start
makedepends=('intltool' 'pkgconfig' 'mate-doc-utils')
options=('!emptydirs' '!libtool')
install=mate-window-manager.install
-url="http://matsusoft.com.ar/projects"
+url="http://matsusoft.com.ar/projects/mate/"
groups=('mate')
-source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download
- metacity-restartstyle.patch)
-sha256sums=('bbacc3cd0b7cb0d44d0417613d151cc3178a4b0fcf3ff77b4d254c9927f9942e'
- 'ea2450ca3e4fb59166ec18ff4844cc61cb16865880dc6b125078a3ab47bf2caf')
+source=(metacity-restartstyle.patch)
+sha256sums=('ea2450ca3e4fb59166ec18ff4844cc61cb16865880dc6b125078a3ab47bf2caf')
build() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/../../../"
patch -Np1 -i "${srcdir}/metacity-restartstyle.patch" || return 1
./autogen.sh \
--prefix=/usr \
@@ -30,7 +28,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/../../../"
make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1

0 comments on commit db0b7a3

Please sign in to comment.