[aur-general] introduction and questions

jezra jezra.lickter at gmail.com
Tue Jul 7 12:28:44 EDT 2009


On Tue, Jul 7, 2009 at 2:03 AM, Imanol
Celaya<ornitorrincos at archlinux-es.org> wrote:
> also, you said there's another package in aur named sap, you should
> check if you have file conflicts(like another /usr/bin/sap)
>
> not completely PKGBUILD related but also important.
>
There is indeed a conflict of /usr/bin/sap. What is the best way to
proceed in a situation such as this? Should I rename my binary or
should I just put the name of the conflicting binary into "conflicts"?


Based upon the various feedback, the PKGBUILD is now
# 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')
makedepends=('vala>=0.7.2')
conflicts=('sap')
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 -Dm755 sap $pkgdir/usr/bin/sap || return 1
	install -Dm644 sap.1 $pkgdir/usr/share/man/man1/sap.1 || return 1

}
#end of code


More information about the aur-general mailing list