summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 05:16:10 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-09 05:16:10 -0200
commitafc235f9204fd3b8b1e9adff2829b5ede080ef3d (patch)
treec9c239516de160fb1eba5de15bf428e2179c5beb
parentd9c5a760e9c36d34f24077d94911122eca659ae5 (diff)
angband-libre: add mksource
-rw-r--r--libre/angband-libre/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
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')