diff options
author | sl1pkn07 | 2015-06-18 16:31:51 +0200 |
---|---|---|
committer | sl1pkn07 | 2015-06-18 16:35:00 +0200 |
commit | 35d1c05f49449646ca16ec4d835a8c2a1f61504d (patch) | |
tree | cf86402e33c1a41b62f90f00687165d77795ceaa /PKGBUILD | |
parent | 42c769ee0ebd88ea01237bf570ab70e69586f5ed (diff) | |
download | aur-35d1c05f49449646ca16ec4d835a8c2a1f61504d.tar.gz |
Fix path in .install file
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -6,20 +6,20 @@ pkgname=ttf-oxygen-git pkgver=5.3.90.r168.4a2d1f7 pkgrel=1 pkgdesc="A desktop/gui font family for integrated use with the KDE desktop. (GIT version)" -arch=("any") -license=("custom:OFL") -url="https://projects.kde.org/projects/playground/artwork/oxygen-fonts" +arch=('any') +license=('custom:OFL') +url='https://projects.kde.org/projects/playground/artwork/oxygen-fonts' makedepends=('git' 'cmake' 'extra-cmake-modules' 'fontforge') -provides=("ttf-oxygen") -conflicts=("ttf-oxygen") -source=("git://anongit.kde.org/oxygen-fonts.git") -sha1sums=("SKIP") -install="ttf-oxygen.install" +provides=('ttf-oxygen') +conflicts=('ttf-oxygen') +source=('git://anongit.kde.org/oxygen-fonts.git') +sha1sums=('SKIP') +install=ttf-oxygen-git.install pkgver() { cd oxygen-fonts - _ver="$(cat CMakeLists.txt | grep PROJECT_VERSION | head -n1 | cut -d '"' -f2)" - echo "$(echo ${_ver} | tr ' ' .).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + _ver="$(cat CMakeLists.txt | grep -m1 PROJECT_VERSION | cut -d '"' -f2)" + echo "${_ver}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } prepare() { @@ -31,7 +31,8 @@ build() { cmake ../oxygen-fonts \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_INSTALL_DIR=lib + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON make } |