diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-09 07:28:38 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-09 07:28:38 -0200 |
commit | b6ed71b2f004e524cd24958630ed84281b7c52df (patch) | |
tree | 5d918acbf875a6293ab30cf3a9ca6ca71dfa090b | |
parent | 8406733525a83466da788bd3efd02013b900406b (diff) |
cdrkit-libre: add mksource
-rw-r--r-- | libre/cdrkit-libre/PKGBUILD | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/libre/cdrkit-libre/PKGBUILD b/libre/cdrkit-libre/PKGBUILD index 1f8992289..fe2abff3c 100644 --- a/libre/cdrkit-libre/PKGBUILD +++ b/libre/cdrkit-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 157442 2012-04-28 11:27:45Z allan $ +# $Id: PKGBUILD 186761 2013-05-31 04:50:41Z allan $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Alexander Fehr <pizzapunk gmail com> @@ -10,26 +10,31 @@ pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio C arch=('i686' 'x86_64' 'mips64el') url="http://cdrkit.org/" license=('GPL2') -depends=('file' 'bzip2') -optdepends=('perl: for dirsplit') -makedepends=('cmake') provides=("cdrkit=${pkgver}" 'cdrtools') conflicts=('cdrkit' 'cdrtools') replaces=('cdrkit' 'cdrtools') -source=(http://cdrkit.org/releases/$_pkgname-$pkgver.tar.gz) -md5sums=('efe08e2f3ca478486037b053acd512e9') +depends=('file' 'bzip2') +optdepends=('perl: for dirsplit') +makedepends=('cmake') +mksource=(http://cdrkit.org/releases/$_pkgname-$pkgver.tar.gz) +source=(https://repo.parabolagnulinux.org/sources/$pkgname-$pkgver.tar.gz) +mkmd5sums=('efe08e2f3ca478486037b053acd512e9') +md5sums=('SKIP') -prepare() { +mksource() { cd "$srcdir/$_pkgname-$pkgver" - sed -i "s#sbin#bin#" netscsid/CMakeLists.txt # Remove nonfree apple_driver utility rm -rvf {doc/genisoimage/README.hfs_boot,genisoimage/apple_driver.{8,c}} } -build() { +prepare() { cd "$srcdir/$_pkgname-$pkgver" + sed -i "s#sbin#bin#" netscsid/CMakeLists.txt +} +build() { + cd "$srcdir/$_pkgname-$pkgver" make } |