updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / nwn-original-movies-cdrom / PKGBUILD
blobc82d3268d9badf29f01e39972496aab68ea9bc11
1 # Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
3 pkgname=nwn-original-movies-cdrom
4 pkgver=1.69
5 pkgrel=1
6 pkgdesc="Neverwinter Nights RPG from BioWare (original game movies, NWN CD3 required)"
7 arch=("any")
8 license=("custom")
9 depends=("nwn-original-resources")
10 url="http://nwn.bioware.com/downloads/linuxclient.html"
11 source=("98-original-movies.conf")
12 md5sums=('2494ac93b1c6464e2971323adf1a0556')
14 # Package options
15 # CD_DIR: path where Neverwinter Nights CD3 is mounted.
16 : ${CD_DIR:="/media/sr0"}
18 package() {
19   cd "${srcdir}"
20   install -Dm644 "98-original-movies.conf" "${pkgdir}/etc/nwn/branches.d/98-original-movies.conf"
21   
22   cd "${CD_DIR}/movies"
23   local i
24   for i in *.bik; do
25     install -Dm644 "${i}" "${pkgdir}/opt/nwn/original-movies/movies/${i}"
26   done