summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSte742018-02-14 18:59:12 +0100
committerSte742018-02-14 18:59:12 +0100
commit7a75e05fa1545aa7029a11b3dbf452d690de57cc (patch)
tree97d97e71c7993ee7e59bfe314e52c3bd81c03a27
parent0e0c09756e05d44a62258b94d15415ecfa8d12ce (diff)
downloadaur-7a75e05fa1545aa7029a11b3dbf452d690de57cc.tar.gz
move source into launchpad and correct the pkgbuild
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 504143e08ba..a9957e37c67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=brightside
pkgver=1.4.0
-pkgrel=3
+pkgrel=4
pkgdesc="A tool to set up hotcorners regardless of the WM or DE in use"
arch=('i686' 'x86_64')
url="http://linux.softpedia.com/get/Desktop-Environment/Tools/Brightside-3672.shtml"
@@ -11,25 +11,25 @@ license=('GPL2')
depends=('gnome-vfs-nosmb' 'alsa-lib' 'gconf' 'libglade' 'libgnomeui' 'libwnck' 'popt')
makedepends=('intltool')
install=$pkgname.install
-source=('http://pkgs.fedoraproject.org/repo/pkgs/brightside/brightside-1.4.0.tar.bz2/df6dfe0ffbf110036fa1a5549b21e9c3/brightside-1.4.0.tar.bz2'
+source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.orig.tar.gz"
'brightside-1.4.0-wnck.patch')
-sha1sums=('39cc63fe01b175ca4cfc2ae23b8aadbf2b30e93c'
+sha1sums=('0129efa865f43c7a2bf6d6751ea3347a774c6672'
'75952642c5d2e538b61bd5fedda3cca93e5c051c')
prepare() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver.orig"
patch -Np1 -i "$srcdir"/brightside-1.4.0-wnck.patch
# gconf install path fix
sed -i '/^schemadir =/s| = \$(sysconfdir)| = \$(datadir)|' src/Makefile.in
}
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver.orig"
LDFLAGS='-lX11' ./configure prefix=/usr --enable-tray-icon
make
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver.orig"
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
}