diff options
author | root <root@rshg054.dnsready.net> | 2012-02-25 23:15:06 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-25 23:15:06 +0000 |
commit | e4a5730eb358cb0d78bc022204ddccac068c2bf2 (patch) | |
tree | 8dc9d2ac6b1313cb68be1a6c8b51500397f8b225 /extra/libkate | |
parent | 299e917c17619f800f0c21cf43209065b608223f (diff) |
Sat Feb 25 23:15:06 UTC 2012
Diffstat (limited to 'extra/libkate')
-rw-r--r-- | extra/libkate/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/libkate/PKGBUILD b/extra/libkate/PKGBUILD new file mode 100644 index 000000000..a953311c9 --- /dev/null +++ b/extra/libkate/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 151102 2012-02-24 21:57:31Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: N30N <archlinux@alunamation.com> +# Contributor: linkmauve <linkmauve@linkmauve.fr> +# Contributor: mokkurkalve <xenofil@gmail.com> + +pkgname=libkate +pkgver=0.4.1 +pkgrel=3 +pkgdesc="A karaoke and text codec for embedding in ogg" +url="http://libkate.googlecode.com/" +license=('BSD') +arch=('i686' 'x86_64') +depends=('libpng' 'libogg' 'python2') +makedepends=('pkg-config') +optdepends=('wxpython: for KateDJ' + 'liboggz: for KateDJ') +options=('!libtool') +source=("http://libkate.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") +md5sums=('1dfdbdeb2fa5d07063cf5b8261111fca') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export PYTHON="/usr/bin/python2" + sed "1s/python$/python2/" -i tools/KateDJ/KateDJ + + ./configure --prefix=/usr \ + --disable-static \ + --disable-doc + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + # install BSD license + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |