diff --git a/pkg/arch/PKGBUILD b/pkg/arch/PKGBUILD index cc8d4d1a4f0584a5d3dbd122770cc9e8029e5e4a..fe5d11aa8a4eeb7f798b0b58341a088e64f41c7c 100644 --- a/pkg/arch/PKGBUILD +++ b/pkg/arch/PKGBUILD @@ -8,14 +8,18 @@ arch=('i686' 'x86_64') url="https://github.com/xdgurl/xdgurl" license=('GPL3') depends=('tk') -#source=("$pkgname-$pkgver.tar.gz") +#source=("https://github.com/xdgurl/xdgurl/archive/release-$pkgver.tar.gz") source=("$pkgname.tar.gz") md5sums=() #autofill using updpkgsums -package() { - #cd "$pkgname-$pkgver" +build() { + #cd "$pkgname-release-$pkgver" cd $pkgname + make +} - install -D -m 755 "src/$pkgname.py" "$pkgdir/usr/bin/$pkgname" - install -D -m 644 "src/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" +package() { + #cd "$pkgname-release-$pkgver" + cd $pkgname + make DESTDIR="$pkgdir" prefix="/usr" install }