Skip to content

Commit

Permalink
Fix PKGBUILD's
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexpux committed May 10, 2016
1 parent da92917 commit 5aeb4f4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions mingw-w64-hyphen/PKGBUILD
Expand Up @@ -62,12 +62,12 @@ check() {

package_hyphen() {
pkgdesc="library for high quality hyphenation and justification (mingw-w64)"
optdepends=('perl: for substrings.pl')
optdepends=("perl: for substrings.pl")

cd "${srcdir}"/build-${CARCH}
make DESTDIR="$pkgdir/" install-libLTLIBRARIES
make DESTDIR="$pkgdir/" install-binSCRIPTS
make DESTDIR="$pkgdir/" install-includeHEADERS
make DESTDIR="${pkgdir}/" install-libLTLIBRARIES
make DESTDIR="${pkgdir}/" install-binSCRIPTS
make DESTDIR="${pkgdir}/" install-includeHEADERS

# license
install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
Expand All @@ -76,25 +76,25 @@ package_hyphen() {

package_hyphen-en() {
pkgdesc="English hyphenation rules"
optdepends=('hyphen: offers hyphenation library functions')
optdepends=("${MINGW_PACKAGE_PREFIX}-hyphen: offers hyphenation library functions")

cd "${srcdir}"/build-${CARCH}
make DESTDIR="$pkgdir/" install-hyphDATA
make DESTDIR="${pkgdir}/" install-hyphDATA

#The rest of this is done to be consistant with ArchLinux's
#hyphen package.
pushd ${pkgdir}/${MINGW_PREFIX}/share/hyphen/
pushd ${pkgdir}${MINGW_PREFIX}/share/hyphen/
en_US_aliases="en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW"
for lang in $en_US_aliases; do
ln -s hyph_en_US.dic hyph_$lang.dic
done
popd

# the symlinks
install -dm755 ${pkgdir}/${MINGW_PREFIX}/share/myspell/dicts
pushd $pkgdir/${MINGW_PREFIX}/share/myspell/dicts
for file in $pkgdir/${MINGW_PREFIX}/share/hyphen/*; do
ln -sv $pkgdir/${MINGW_PREFIX}/share/hyphen/$(basename $file) .
install -dm755 ${pkgdir}${MINGW_PREFIX}/share/myspell/dicts
pushd ${pkgdir}${MINGW_PREFIX}/share/myspell/dicts
for file in ${pkgdir}${MINGW_PREFIX}/share/hyphen/*; do
ln -sv ${pkgdir}${MINGW_PREFIX}/share/hyphen/$(basename ${file}) .
done
popd

Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-libmariadbclient/PKGBUILD
Expand Up @@ -24,7 +24,7 @@ source=(#"https://downloads.mariadb.org/interstitial/connector-c-${pkgver}/sourc
validpgpkeys=("199369E5404BD5FC7D2FE43BCBCB082A1BB943DB") #MariaDB Package Signing Key <package-signing-key@mariadb.org>
sha256sums=('cd01ce2c418382f90fd0b21c3c756b89643880efe3447507bf740569b9d08eed'
'SKIP'
'1e0d1aa9cbae0cd5dcac40faf3b7309ed20e2727645f05ec5559baad598937a0'
'541d1678cddf066596504168e669ec64b0384aab015559514ae8e33f1ed6832e'
'8069bc0c7f4204fe2b1ea54c610c27aebd0c54d7a21ecf6352c9bdd9cf1c4062'
'e84d3ac9b2e716dc1581d82c34001d8561bb0d09750d1d57d4b448a8cc259ff0'
'ddb20e474ba1a63f65f28ee76bb74074316b15cc90ecdae6d2aa1febf0803d72')
Expand Down
2 changes: 1 addition & 1 deletion mingw-w64-python-pdfrw/PKGBUILD
Expand Up @@ -15,7 +15,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2"
"${MINGW_PACKAGE_PREFIX}-python3-setuptools"
"${MINGW_PACKAGE_PREFIX}-python2-setuptools")
options=('staticlibs' 'strip' '!debug')
source=("https://github.com/pmaupin/${_realname}/archive/v${pkgver}.tar.gz")
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/pmaupin/${_realname}/archive/v${pkgver}.tar.gz")
sha256sums=('fce304d0ce1ec3f3b8612da000eb4657c124740719e2a4d78c63399f5ebb78a4')


Expand Down
6 changes: 3 additions & 3 deletions mingw-w64-python-rst2pdf/PKGBUILD
Expand Up @@ -21,7 +21,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2"
"${MINGW_PACKAGE_PREFIX}-python3-reportlab>=2.4"
"${MINGW_PACKAGE_PREFIX}-python3-setuptools")
options=('staticlibs' 'strip' '!debug')
source=("https://github.com/${_realname}/${_realname}/archive/${pkgver}.tar.gz")
source=(${_realname}-${pkgver}.tar.gz::"https://github.com/${_realname}/${_realname}/archive/${pkgver}.tar.gz")
sha256sums=('37e99ea103790321b29b6f6b0192821ba9c2990a6aec57295585ca6919932a97')

prepare() {
Expand Down Expand Up @@ -49,7 +49,7 @@ package_python3-rst2pdf() {
"${MINGW_PACKAGE_PREFIX}-python3-reportlab>=2.4"
"${MINGW_PACKAGE_PREFIX}-python3-setuptools")
conflicts=("${MINGW_PACKAGE_PREFIX}-python2-rst2pdf")
# just in case some package wants to use the rst2pdf executable.
# just in case some package wants to use the rst2pdf executable.
provides=("${MINGW_PACKAGE_PREFIX}-rst2pdf")

cd "${srcdir}/python3-build"
Expand All @@ -68,7 +68,7 @@ package_python2-rst2pdf() {
"${MINGW_PACKAGE_PREFIX}-python2-reportlab>=2.4"
"${MINGW_PACKAGE_PREFIX}-python2-setuptools")
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-rst2pdf")
# just in case some package wants to use the rst2pdf executable.
# just in case some package wants to use the rst2pdf executable.
provides=("${MINGW_PACKAGE_PREFIX}-rst2pdf")

cd "${srcdir}/python2-build"
Expand Down

0 comments on commit 5aeb4f4

Please sign in to comment.