Commit d223148e authored by Leo's avatar Leo Committed by Natanael Copa

main/lxpolkit: fix url

parent 725ce594
...@@ -2,30 +2,17 @@ ...@@ -2,30 +2,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lxpolkit pkgname=lxpolkit
pkgver=0.1.0 pkgver=0.1.0
pkgrel=1 pkgrel=2
pkgdesc="Simple PolicyKit authentication agent" pkgdesc="Simple PolicyKit authentication agent"
url="http://lxde.org/" url="https://lxde.org/"
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
depends=""
makedepends="gtk+-dev polkit-dev" makedepends="gtk+-dev polkit-dev"
install="" subpackages="$pkgname-lang"
subpackages=""
source="https://downloads.sourceforge.net/lxde/lxpolkit-$pkgver.tar.gz" source="https://downloads.sourceforge.net/lxde/lxpolkit-$pkgver.tar.gz"
_builddir="$srcdir"/lxpolkit-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() { build() {
cd "$_builddir" cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -33,14 +20,13 @@ build() { ...@@ -33,14 +20,13 @@ build() {
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--localstatedir=/var \ --localstatedir=/var
|| return 1 make
make || return 1
} }
package() { package() {
cd "$_builddir" cd "$builddir"
make DESTDIR="$pkgdir" INSTALL="install -p" install || return 1 make DESTDIR="$pkgdir" INSTALL="install -p" install
} }
sha512sums="2e2c41edb1c4c6f43f646feefe651adcdfa101e52799af8aa4f70e3eccb21ba5b0e9d07102a792cef9d7bb16df1ef0f2d2c4cef3e126cf35a298f7a0d11a2ee5 lxpolkit-0.1.0.tar.gz" sha512sums="2e2c41edb1c4c6f43f646feefe651adcdfa101e52799af8aa4f70e3eccb21ba5b0e9d07102a792cef9d7bb16df1ef0f2d2c4cef3e126cf35a298f7a0d11a2ee5 lxpolkit-0.1.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment