# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=ccd2iso
pkgver=0.3
pkgrel=10
pkgdesc="Converts CCD/IMG CloneCD images to ISO format"
arch=('x86_64')
url="https://sourceforge.net/projects/ccd2iso"
license=('GPL')
depends=('glibc')
source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('a7df1c46cb710f2fc8ebd88c2e64ce65')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}

	./configure --prefix=/usr
	make
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}

	make DESTDIR=${pkgdir} install
}
