diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 35 | ||||
-rw-r--r-- | cdcover.install | 7 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c200cf3f6db7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = cdcover + pkgdesc = cdcover allows the creation of inlay-sheets for cd-cases and dvd's + pkgver = 0.7.4 + pkgrel = 6 + url = http://cdcover.sourceforge.net + install = cdcover.install + arch = x86_64 + license = GPL + depends = python2 + depends = tk + source = http://downloads.sourceforge.net/sourceforge/cdcover/cdcover-0.7.4.tar.gz + md5sums = ab54e927e1c2f9210062ae9425cea669 + +pkgname = cdcover + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ee80e726199c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Roland Schaeuble <rschaeuble@gmx.ch> + +pkgname=cdcover +pkgver=0.7.4 +pkgrel=6 +pkgdesc="cdcover allows the creation of inlay-sheets for cd-cases and dvd's" +arch=('x86_64') +url="http://cdcover.sourceforge.net" +license=('GPL') +depends=('python2' 'tk') +install='cdcover.install' +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('ab54e927e1c2f9210062ae9425cea669') + +build() { + cd "$srcdir"/$pkgname + + # python2 fix + sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' src/cdcover.py + + patch -p0 Makefile <<EOF +13c13 +< IMAGEFILES=autonum.gif cddb.gif exit.gif gv.gif logo.gif nocddb.gif ps.gif +--- +> IMAGEFILES=application-exit.gif cddb.gif document-print-preview.gif document-save.gif logo.gif nocddb.gif renumber.gif +EOF +} + +package() { + cd "$srcdir"/$pkgname + make target=/usr prefix="$pkgdir"/usr install + rm -rf "$pkgdir"/usr/doc +} diff --git a/cdcover.install b/cdcover.install new file mode 100644 index 000000000000..5df4b5c8a22e --- /dev/null +++ b/cdcover.install @@ -0,0 +1,7 @@ +post_install() +{ + echo "Installation of a postscript viewer such as 'gv' or 'ggv'" + echo "is highly recommended." + echo "To benefit from cddb features, installation of 'discid'" + echo "and 'pycddb' is required." +} |