diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 21 insertions, 25 deletions
@@ -1,17 +1,18 @@ pkgbase = qlipper pkgdesc = Lightweight & cross-platform clipboard history applet based on qt - pkgver = 5.1.1 - pkgrel = 2 - url = https://github.com/pvanek/qlipper/ + pkgver = 5.1.2 + pkgrel = 1 + url = https://github.com/pvanek/qlipper arch = i686 arch = x86_64 - license = GPL + license = GPL2 makedepends = cmake makedepends = ninja makedepends = qt5-tools + makedepends = git depends = qt5-base - source = qlipper-5.1.1.tar.gz::https://github.com/pvanek/qlipper/archive/5.1.1.tar.gz - sha512sums = 196e3a348028d4b0f52362a1c0cfb0c479a31b6b56af5c5423db91af2ecc926eee1c9da385171b2084e1a7b6e919d94d1c1626fa128636b4075a00bbc5351586 + source = git+https://github.com/pvanek/qlipper#tag=5.1.2 + sha256sums = SKIP pkgname = qlipper @@ -1,31 +1,26 @@ # Maintainer: e5ten <e5ten.arch@gmail.com> # Contributor: sxe <sxxe@gmx.de> pkgname='qlipper' -pkgver=5.1.1 -pkgrel=2 +pkgver=5.1.2 +pkgrel=1 pkgdesc='Lightweight & cross-platform clipboard history applet based on qt' arch=('i686' 'x86_64') -url="https://github.com/pvanek/${pkgname}/" -license=('GPL') +url="https://github.com/pvanek/${pkgname}" +license=('GPL2') depends=('qt5-base') -makedepends=('cmake' 'ninja' 'qt5-tools') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pvanek/qlipper/archive/${pkgver}.tar.gz") -sha512sums=('196e3a348028d4b0f52362a1c0cfb0c479a31b6b56af5c5423db91af2ecc926eee1c9da385171b2084e1a7b6e919d94d1c1626fa128636b4075a00bbc5351586') - -prepare() { - mkdir -p "${srcdir}/build" -} +makedepends=('cmake' 'ninja' 'qt5-tools' 'git') +source=("git+https://github.com/pvanek/${pkgname}#tag=${pkgver}") +sha256sums=('SKIP') build() { - cd "${srcdir}/build" - cmake -G "Ninja" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - "../${pkgname}-${pkgver}" - ninja + cmake -G 'Ninja' -B "${srcdir}/build" \ + -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ + -DCMAKE_BUILD_TYPE:STRING='Release' \ + "${srcdir}/${pkgname}" + cmake --build "${srcdir}/build" } package() { - cd "${srcdir}/build" - DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" cmake --build "${srcdir}/build" --target install } + |