Created a PKGBUILD

Now I can submit ocarina to the AUR!  I also updated the .gitattributes
file so the PKGBUILD doesn't get included in the tarball.
This commit is contained in:
Bryan Schumaker 2011-11-11 08:12:40 -05:00
parent a9b4147df8
commit cad03257eb
2 changed files with 29 additions and 1 deletions

3
.gitattributes vendored
View File

@ -1 +1,2 @@
screens export-ignore
screens export-ignore
PKGBUILD export-ignore

27
PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# Maintainer: Bryan Schumaker <bjschuma@gmail.com>
pkgname=ocarina
pkgver=5.3
pkgrel=1
pkgdesc="A simple GTK and gstreamer based music player."
url="http://www.ocarinaproject.net/"
arch=('x86_64' 'i686')
license=('SimPL')
depends=('gtk2' 'gstreamer0.10-base' 'taglib')
optdepends=('gstreamer0.10-good-plugins' 'gstreamer0.10-bad-plugins' 'gstreamer0.10-ugly-plugins')
makedepends=('scons')
conflicts=()
replaces=()
backup=()
source=("http://ocarinaproject.net/wp-content/uploads/2011/11/${pkgname}-${pkgver}.tar.gz")
md5sums=('a468ed0684eb65abd7a61c0e52a98a0d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
scons
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
scons DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}