diff --git a/.gitattributes b/.gitattributes index f54e933b..fbcb1ad0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ -screens export-ignore +screens export-ignore +PKGBUILD export-ignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..96dc62fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Bryan Schumaker +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" +}