mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 15:12:02 +01:00
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=copyq
|
|
_pkgname=CopyQ
|
|
pkgver=3.8.0
|
|
pkgrel=0
|
|
pkgdesc="Clipboard manager with searchable and editable history"
|
|
url="https://github.com/hluk/CopyQ"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="cmake libxfixes-dev libxtst-dev qt5-qtscript-dev
|
|
qt5-qtsvg-dev qt5-qttools-dev qt5-qtx11extras-dev"
|
|
options="!check" # upstream does not provide check
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/hluk/${_pkgname}/archive/v${pkgver}.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
mkdir "$builddir"/build
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"/build
|
|
cmake .. \
|
|
-DWITH_QT5=TRUE \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
sha512sums="ae22e5e00a2624b5fb551790ccda82f4a10a026cfd16d6526b370a0a210a939f2a11d0729f2b735e201085083514ff9eff8cda69ee2d360766fbfb7ea49b6c5e copyq-3.8.0.tar.gz"
|