summaryrefslogtreecommitdiff
path: root/pcr/cdw/PKGBUILD
blob: fbd7d5d629667916b309d44a801708d77d4a0aec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
# Contributor: kfgz <kfgz at interia pl>
# Contributor: Joey Mazzarelli <mazzarelli at gmail dot com>

pkgname=cdw
pkgver=0.8.0
pkgrel=1
pkgdesc="Ncurses CD writer program which uses cdrecord and mkisofs"
arch=('i686' 'x86_64')
url="http://cdw.sourceforge.net/"
license=('GPL')
depends=('cdrtools' 'ncurses' 'libburn' 'libcdio')
source=(${pkgname}-${pkgver}.tar.gz::http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgname}%20${pkgver}/${pkgname}-${pkgver}.tar.gz/download)

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make prefix="${pkgdir}"/usr install
  install -dm755 "${pkgdir}"/usr/share/doc/cdw
  install -m644 cdw.conf "${pkgdir}"/usr/share/doc/cdw
  install -m644 cdw.colors "${pkgdir}"/usr/share/doc/cdw
}