aboutsummaryrefslogblamecommitdiffstats
path: root/testing/copyq/APKBUILD
blob: 6dd2d5608586c646c304b8148c0bef77af299262 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                   


                                                          
            
        

                                                                
                       
                          




                                                       
                                                  
                          
                                                                                           



                                    
                               


         


                                 
                                         

                                           



                            
                                      

 
                                                                                                                                                                 
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=copyq
_pkgname=CopyQ
pkgver=4.0.0
pkgrel=0
pkgdesc="Clipboard manager with searchable and editable history"
url="https://github.com/hluk/CopyQ"
arch="all !armhf" # qt5
license="GPL-3.0-or-later"
makedepends="cmake extra-cmake-modules libxfixes-dev 
	libxtst-dev 
	qt5-qtscript-dev qt5-qtsvg-dev qt5-qttools-dev 
	qt5-qtx11extras-dev qt5-qtwayland-dev
	knotifications-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=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="152f93ec6a887372750b717825d0f6d39a6af9bca479b928626edc97d991571f2820aa546c6cfa7ed55f914bf69da4545635f7e8aef7db2277ff5f68dc06ce34  copyq-4.0.0.tar.gz"