You are not logged in.
Hi
I created my first PKGBUILD and now I'd like to know if everything is fine. If yes I'll submit it to AUR:
# Maintainer: exul <exul [at] v-net [dot] ch>
pkgname=ctags-go
pkgver=20120726
pkgrel=1
pkgdesc='Go support for exuberant ctags'
arch=('x86_64' 'i686')
license=('GPL')
depends=('glibc')
makedepends=('git')
url=('https://github.com/lyosha/ctags-go')
_gitroot="https://github.com/lyosha/$pkgname.git"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $pkgname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $pkgname
cd $pkgname
fi
msg "GIT checkout done or server timeout"
msg "Starting configure..."
./configure
msg "Starting make..."
make
}
package() {
cd ${srcdir}/${pkgname}
make prefix=${pkgdir}/usr install
}
I'd be happy to get your feedback.
Thanks
Last edited by exul (2012-07-27 06:24:33)
Offline
Assuming the stuff at the end is a copy and paste error, it worked perfectly for me.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Ups, you're right, that was a copy and paste error, thanks.
Offline