You are not logged in.
Hello forum,
I've created a PKGBUILD for the newly released beta of tarsnap-gui, and I was thinking of uploading it to AUR.
Since this would be my first public PKGBUILD, I'd like to have some feedback on the quality of the script before going with this.
Here it is:
_gitname=tarsnap-gui
pkgname=tarsnap-gui-git
pkgver=v0.5.r2.g1b3b346
pkgrel=1
pkgdesc="Cross platform GUI for the Tarsnap command line client"
arch=('i686' 'x86_64')
url="https://github.com/Tarsnap/tarsnap-gui"
license=('BSD')
depends=('qt5-base')
makedepends=('git')
provides=('tarsnap-gui')
source=("${_gitname}::git+https://github.com/Tarsnap/tarsnap-gui.git")
md5sums=('SKIP')
pkgver() {
cd $_gitname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_gitname
qmake
make
}
package() {
cd $_gitname
install -Dm755 ./tarsnap-gui "${pkgdir}/usr/bin/tarsnap-gui"
} Thanks for your time.
EDIT:
I've noticed after posting that there's already a package on AUR. I'd guess this is not useful anymore then!
Last edited by mrz87 (2015-06-12 08:11:17)
Offline
Yours is a better PKGBUILD...
Offline
Yours is a better PKGBUILD...
Hey, thanks. Perhaps I'll contact the current maintainer to see if there's something I can do to help.
Offline
Yes, publish a comment in the already existing package page pointing to your PKGBUILD.
I also find yours better and cleaner.
Offline