mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/copyq: new aport
This commit is contained in:
parent
60aa3d265e
commit
01e086ca12
38
testing/copyq/APKBUILD
Normal file
38
testing/copyq/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=copyq
|
||||
_pkgname=CopyQ
|
||||
pkgver=3.1.2
|
||||
pkgrel=0
|
||||
pkgdesc="Clipboard manager with searchable and editable history"
|
||||
url="https://github.com/hluk/CopyQ"
|
||||
arch="all"
|
||||
license="GPL3"
|
||||
makedepends="cmake qt5-qtscript-dev qt5-qttools-dev qt5-qtsvg-dev
|
||||
libxfixes-dev libxtst-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 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DWITH_QT5=TRUE \
|
||||
..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"/build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
sha512sums="3d1e37e5194dfff4269b1124f734308e42cb2daa0930dcc0a9b1261ddb40451187c358088a51d76f41ade6fb943b3617128a82f0fd4b06c6c097069616811933 copyq-3.1.2.tar.gz"
|
Loading…
Reference in New Issue
Block a user