diff options
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 42 |
1 files changed, 23 insertions, 19 deletions
@@ -3,8 +3,8 @@ # Contributor: Alexander Bantyev <balsoft@yandex.ru> pkgname=qomp -pkgver=1.4 -pkgrel=3 +pkgver=1.5 +pkgrel=1 pkgdesc="Quick(Qt) Online Music Player" arch=(i686 x86_64) url="https://github.com/qomp/qomp" @@ -16,36 +16,40 @@ optdepends=('gst-libav: additional codecs' 'gst-plugins-bad: additional codecs' 'gst-plugins-ugly: additional codecs') makedepends=(git cmake qt5-tools) -source=("git+https://github.com/qomp/qomp#tag=${pkgver}" - "git+https://github.com/qomp/translations" - "git+https://github.com/qomp/themes" +source=("git+https://github.com/qomp/qomp.git#tag=${pkgver}" + "qomp-translations::git+https://github.com/qomp/translations.git" + "qomp-themes::git+https://github.com/qomp/themes.git" + "git+https://github.com/wadealer/qt-google-analytics.git" "git+https://github.com/wadealer/SingleApplication") sha256sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP') + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') prepare() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/qomp" git submodule init - git config 'submodule.translations.url' "${srcdir}/translations" - git config 'submodule.themes.url' "${srcdir}/themes" - git config 'submodule.src/singleapplication.url' "${srcdir}/SingleApplication" - git submodule update + git config submodule.translations.url "${srcdir}/qomp-translations" + git config submodule.themes.url "${srcdir}/qomp-themes" + git config submodule.ga.url "${srcdir}/qt-google-analytics" + git config submodule.src/singleapplication.url "${srcdir}/SingleApplication" + git config submodule.android_openssl.update none + git -c protocol.file.allow=always submodule update + [[ -d build ]] || mkdir build } build() { - cd "${srcdir}/${pkgname}" - - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr/ \ + cd "${srcdir}/qomp/build" + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { - cd "${srcdir}/${pkgname}" - make DESTDIR="${pkgdir}/" install + cd "${srcdir}/qomp/build" + make DESTDIR="$pkgdir/" install } |