PKGBUILDs/extra/gnome-audio/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
734 B
Bash

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-audio
pkgver=2.22.0
pkgrel=1
pkgdesc="GNOME Audio files"
arch=(i686 x86_64)
license=('custom')
url="http://www.gnome.org"
groups=('gnome-extra')
options=(!makeflags)
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.22/${pkgname}-${pkgver}.tar.bz2)
md5sums=('e80c94dc42e2ccb2e50e74a382eed666')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
sed -i -e 's|/usr/share|$(DESTDIR)/usr/share|' sounds/Makefile || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -m755 -d ${startdir}/pkg/usr/share/licenses/${pkgname}
install -m644 README ${startdir}/pkg/usr/share/licenses/${pkgname}/
}