community/garcon: fix build

The source is unavailable so use a github-mirror.

The mirror has no ready configure files so we need to regenerate them.
This commit is contained in:
Leo 2019-11-21 21:35:20 +01:00
parent 6080a9d878
commit 4e15e22946

View File

@ -8,9 +8,16 @@ arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
makedepends="glib-dev gtk+2.0-dev libxfce4ui-dev intltool libxfce4util-dev
gtk-doc gobject-introspection-dev"
source="https://archive.xfce.org/src/libs/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
gtk-doc gobject-introspection-dev automake autoconf libtool
xfce4-dev-tools"
source="$pkgname-$pkgver.tar.gz::https://github.com/xfce-mirror/garcon/archive/garcon-$pkgver.tar.gz"
replaces="xfdesktop"
builddir="$srcdir/garcon-garcon-$pkgver"
prepare() {
default_prepare
./autogen.sh
}
build() {
./configure \
@ -34,4 +41,4 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="96a99eb163909ba411ca5928c3fc0a569a6d833fba92edcfa845eb90b56abb02e1428a2cbf61fc1c564f1659d51b24ce174e3864fcc987a37158703df0ac2510 garcon-0.6.4.tar.bz2"
sha512sums="fcd90247355c4a4370c8528809a3ee70780d7eac896ab22a084a3f7fab7abdc8e56a8be55ea33765dc718b2150a5df52331de9981d6b00bdb627a40aeecb0953 garcon-0.6.4.tar.gz"