diff options
author | aksr | 2021-10-10 05:58:06 +0200 |
---|---|---|
committer | aksr | 2021-10-10 05:58:06 +0200 |
commit | a9129a33709ac6b9c25eda2a49d45e95b119bba8 (patch) | |
tree | 8fb33bd50a0058f23aa580336200bb05d71e6b88 /PKGBUILD | |
parent | d71eea8b961c0e34b9281f146ca4b6e996d99e65 (diff) | |
download | aur-a9129a33709ac6b9c25eda2a49d45e95b119bba8.tar.gz |
...
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -1,8 +1,8 @@ -# Contributor: VirtualTam <virtualtam@flibidi.net> +# Contributor: VirtualTam <virtualtam@flibidi.net> # Contributor: Eugene Yudin aka Infy <Eugene dot Yudin at gmail dot com> # Maintainer: aksr <aksr at t-com dot me> pkgname=goldendict-git -pkgver=1.5.0.RC.1017.g09a7d4db +pkgver=1.5.0.RC.1130.gbaff02a1 pkgrel=1 pkgdesc="A feature-rich dictionary lookup program, supporting multiple dictionary formats." arch=('i686' 'x86_64') @@ -10,34 +10,33 @@ url="https://github.com/goldendict/goldendict" url="http://goldendict.org/" license=('GPL3') depends=('ffmpeg' 'hunspell' 'libao' 'libvorbis' 'libxtst' 'lzo' 'zlib' 'xz' 'libeb' 'libiconv' 'opencc' - 'qt5-webkit' 'qt5-svg' 'qt5-tools' 'qt5-x11extras' 'qt5-multimedia') + 'qt5-webkit' 'qt5-svg' 'qt5-tools' 'qt5-x11extras' 'qt5-multimedia') makedepends=('git') conflicts=('goldendict' 'goldendict-svn' 'goldendict-git-opt') provides=('goldendict') replaces=('goldendict' 'goldendict-svn' 'goldendict-git-opt') -source=("$pkgname::git://github.com/goldendict/goldendict.git") +source=("$pkgname::git+git://github.com/goldendict/goldendict.git") md5sums=('SKIP') pkgver() { - cd "$srcdir/$pkgname" - git describe --always | sed 's|-|.|g' + cd "$srcdir/$pkgname" + git describe --always | sed 's|-|.|g' } prepare() { - cd "$srcdir/$pkgname" - msg "Fixing flags" - echo "QMAKE_CXXFLAGS_RELEASE = $CFLAGS" >> goldendict.pro - echo "QMAKE_CFLAGS_RELEASE = $CXXFLAGS" >> goldendict.pro + cd "$srcdir/$pkgname" + msg "Fixing flags" + echo "QMAKE_CXXFLAGS_RELEASE = $CFLAGS" >> goldendict.pro + echo "QMAKE_CFLAGS_RELEASE = $CXXFLAGS" >> goldendict.pro } build(){ - cd "$srcdir/$pkgname" - qmake-qt5 "CONFIG+=zim_support" "CONFIG+=chinese_conversion_support" PREFIX="/usr" goldendict.pro - make + cd "$srcdir/$pkgname" + qmake-qt5 "CONFIG+=zim_support" "CONFIG+=chinese_conversion_support" PREFIX="/usr" goldendict.pro + make } package() { - cd "$srcdir/$pkgname" - make INSTALL_ROOT="$pkgdir" install + cd "$srcdir/$pkgname" + make INSTALL_ROOT="$pkgdir" install } - |