1 # Contributor: robb_force <robb_force@holybuffalo.net>
5 pkgdesc="A rom backup and management tool for nearly any console including support for flash and memory card writers."
6 url="http://ucon64.sourceforge.net/index.php"
10 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tar.gz \
12 md5sums=('33804256edb265d43bc3dbb9ada4441a'
13 '2f8a725346f38a9b9791932477a4085a')
16 cd ${startdir}/src/${pkgname}-${pkgver}-src/src
17 ./configure --prefix=/usr
20 # Install the script that will check for ucon64 in the user folder
21 # and create one if it is not found or run ucon64.
22 install -D -m755 ${startdir}/src/ucon64.sh ${startdir}/pkg/usr/bin/ucon64
24 # Install ucon64 and the discmage library in /usr/share
25 install -Dm775 ${pkgname} ${startdir}/pkg/usr/share/${pkgname}/${pkgname}
26 if [ -f libdiscmage/discmage.so ]; then
27 cp libdiscmage/discmage.so ${startdir}/pkg/usr/share/${pkgname}/
28 elif [ -f discmage.so ]; then
29 cp discmage.so ${startdir}/pkg/usr/share/${pkgname}/