summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-12 16:52:31 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-12 16:52:31 -0200
commit1d11ea315ed62b0f4ff79b1a4216bd3252bfeb46 (patch)
tree9e76c18d7861a0e2a473a050dd06e36c3c0da5de
parent5b062dc62925b01d53ac6fda215b02b7ec383788 (diff)
abiword-libre: revert changes, remove mksource
-rw-r--r--libre/abiword-libre/PKGBUILD26
1 files changed, 10 insertions, 16 deletions
diff --git a/libre/abiword-libre/PKGBUILD b/libre/abiword-libre/PKGBUILD
index 7816107b7..246511888 100644
--- a/libre/abiword-libre/PKGBUILD
+++ b/libre/abiword-libre/PKGBUILD
@@ -14,27 +14,18 @@ url="http://www.abisource.com"
makedepends=('pkgconfig' 'asio' 'boost' 'fribidi' 'goffice0.8' 'libwmf' 'wv' 'link-grammar' 'gtkmathview'
'aiksaurus' 'libxslt' 'enchant' 'libots' 'libwpg' 'librsvg' 'loudmouth' 'libsoup' 'psiconv' 'ttf-liberation')
options=('!makeflags' '!libtool')
-mksource=(http://www.abisource.com/downloads/${_pkgbase}/${pkgver}/source/${_pkgbase}-${pkgver}.tar.gz
- liberation-fonts.patch)
-source=(https://repo.parabolagnulinux.org/sources/${pkgbase}-${pkgver}.tar.gz
+source=(http://www.abisource.com/downloads/${_pkgbase}/${pkgver}/source/${_pkgbase}-${pkgver}.tar.gz
compat_libwpg_0_9.patch
- abiword-2.8.6-no-undefined.patch
+ abiword-2.8.6-no-undefined.patch
abiword-2.8.6-libpng15.patch
- abiword-2.8.6-glib-2.31.patch)
-mkmd5sums=('f883b0a7f26229a9c66fd6a1a94381aa'
- '880b17db6f249d977d2a7cd012d9ce02')
-md5sums=('0f943752f261725ba96d445d74578203'
+ abiword-2.8.6-glib-2.31.patch
+ liberation-fonts.patch)
+md5sums=('f883b0a7f26229a9c66fd6a1a94381aa'
'09446a2ebba8288fc611e88f7cf17298'
'42e2614b6e0aad457d91f6ce20b6f225'
'40e370e7e88c5437140ef18037abfbd3'
- '6ec338a27a6fb590c348724ddb545849')
-
-mksource() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
-
- # Replace nonfree fonts support to liberation fonts
- patch -Np1 -i "${srcdir}/liberation-fonts.patch"
-}
+ '6ec338a27a6fb590c348724ddb545849'
+ '880b17db6f249d977d2a7cd012d9ce02')
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
@@ -47,6 +38,9 @@ build() {
# Fix build with recent glib, patch from Gentoo
patch -Np0 -i "${srcdir}/abiword-2.8.6-glib-2.31.patch"
+ # Replace non-free fonts support to liberation fonts
+ patch -Np1 -i "${srcdir}/liberation-fonts.patch"
+
libtoolize --force
autoreconf