From afc235f9204fd3b8b1e9adff2829b5ede080ef3d Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 9 Jan 2014 05:16:10 -0200 Subject: angband-libre: add mksource --- libre/angband-libre/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libre/angband-libre') diff --git a/libre/angband-libre/PKGBUILD b/libre/angband-libre/PKGBUILD index e463637a8..cf275f60d 100644 --- a/libre/angband-libre/PKGBUILD +++ b/libre/angband-libre/PKGBUILD @@ -20,9 +20,10 @@ replaces=$_pkgname conflicts=$_pkgname provides=$_pkgname=$pkgver depends=('sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses') -source=("http://rephial.org/downloads/${pkgver:0:3}/${_pkgname}-v${pkgver}.tar.gz" 'libre.patch') +mksource=("http://rephial.org/downloads/${pkgver:0:3}/${_pkgname}-v${pkgver}.tar.gz" 'libre.patch') +source=("https://repo.parabolagnulinux.org/sources/${pkgname}-v${pkgver}.tar.gz") -prepare() { +mksource() { cd "${srcdir}/${_pkgname}-v${pkgver}" # remove nonfree parts from source code @@ -56,5 +57,6 @@ package() { install -Dm644 copying.txt "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING" } -md5sums=('4f6ee37abdb411285deb1685ddecba6a' - '3ac39f377bea2e208308d01f4213310f') +mkmd5sums=('4f6ee37abdb411285deb1685ddecba6a' + '3ac39f377bea2e208308d01f4213310f') +md5sums=('82c98af3bc6e5b61787ca09e584a4e78') -- cgit v1.2.3