Files
extra/qlipper/PKGBUILD
2025-06-22 20:39:04 -05:00

29 lines
876 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=qlipper
pkgver=5.1.2
pkgrel=2
pkgdesc="lightweight and cross-platform Qt clipboard manager"
arch=('x86_64' 'i686')
url='https://github.com/pvanek/qlipper/'
license=('GPL-2')
depends=('qt-base')
makedepends=('cmake' 'ninja' 'qt-tools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pvanek/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('1ad49424855abf5f446026856178291b6ed8c1152338013f2228bbe5a923bc2e989754fe41e8b03f069f815c3850073eb1063842b5f40462005693a9029b187b')
build() {
cmake \
-B build \
-S ${pkgname}-${pkgver} \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR=${pkgdir} cmake --build build --target install
install -Dvm644 ${srcdir}/${pkgname}-${pkgver}/COPYING -t ${pkgdir}/usr/share/licenses/${pkgname}
}