jezra wrote:
2009/7/6 Angel Velásquez <angvp@archlinux.com.ve>:
On Mon, Jul 6, 2009 at 11:23 PM, jezra lickter<jezra.lickter@gmail.com> wrote:
my apologies again, I should have said "I have attached a tarball of the PKGBUILD" in my first post in this thread. However, since I didn't say that; I am attaching a tarball of the PKGBUILD that I would like to upload to AUR.
And again.. where is the PKGBUILD? hehe .. are you joking us? nice one btw
-- Angel Velásquez angvp @ irc.freenode.net Linux Counter: #359909
No, I'm not joking. In theory, the PKGBUILD would have been in the tar.gz file I attached to my previous post. However, the contents of the PKGBUILD are as follows:
# Contributor: jezra lickter <jezra at jezra dot net>
pkgname=sap pkgver=0.4.4 pkgrel=1 pkgdesc="A command line audio player utilizing gstreamer and ncurses" arch=('i686') url="http://www.jezra.net/projects/sap/" license=('GPL3') depends=('gstreamer0.10-base' 'ncurses' 'vala>=0.7.2') source=(http://launchpad.net/sap+/0.4.4/0.4.4/+download/sap-0.4.4.tar.gz) md5sums=('c8ec9cb57b925b0634d6853c839f30cb')
build() { cd $srcdir/$pkgname-$pkgver valac --thread --pkg curses --pkg gstreamer-0.10 curses_ui.vala audioplayer.vala main_controller.vala -o sap -X -lncurses || return 1 mkdir $pkgdir/usr || return 1 mkdir $pkgdir/usr/bin || return 1 mkdir $pkgdir/usr/share || return 1 mkdir $pkgdir/usr/share/man || return 1 mkdir $pkgdir/usr/share/man/man1 || return 1 cp sap $pkgdir/usr/bin/ || return 1 cp sap.1 $pkgdir/usr/share/man/man1/ || return 1 }
#end of code
Try something like this... # Contributor: jezra lickter <jezra at jezra dot net> pkgname=sap pkgver=0.4.4 pkgrel=1 pkgdesc="A command line audio player utilizing gstreamer and ncurses" arch=('i686') url="http://www.jezra.net/projects/sap/" license=('GPL3') depends=('gstreamer0.10-base' 'ncurses' 'vala>=0.7.2') source=(http://launchpad.net/sap+/0.4.4/0.4.4/+download/sap-0.4.4.tar.gz) md5sums=('c8ec9cb57b925b0634d6853c839f30cb') build() { cd ${srcdir}/${pkgname}-${pkgver} valac --thread --pkg curses --pkg gstreamer-0.10 curses_ui.vala audioplayer.vala main_controller.vala -o sap -X -lncurses || return 1 install -d ${pkgdir}/usr/{bin/,share/man/man1/} install -m755 sap ${pkgdir}/usr/bin/ install -m644 sap.1 ${pkgdir}/usr/share/man/man1/ } #end of code -- Daniel J Griffiths (Ghost1227) griffithsdj@archlinux.us http://ghost1227.com