File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Maintainer: Reim-developer <contact.kaxtr@gmail.com>
2+ pkgname=zclipboard
3+ pkgver=1.0.1
4+ pkgrel=1
5+ pkgdesc=" A modern, fast clipboard manager"
6+ arch=(' x86_64' )
7+ url=" https://github.com/reim-developer/zclipboard "
8+ license=(' GPL-3.0' )
9+ depends=(' qt6-base' ' clang' )
10+ makedepends=(' cmake' ' gcc' ' make' )
11+ source=(" https://github.com/reim-developer/zclipboard/archive/v${pkgver} .tar.gz" )
12+ sha256sums=(' SKIP' )
13+
14+ build () {
15+ cd " $srcdir /zClipboard-$pkgver " || exit 1
16+
17+ mkdir -p build && cd build
18+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
19+ make
20+ }
21+
22+ package () {
23+ cd " $srcdir /zClipboard-$pkgver /build" || exit 1
24+
25+ make DESTDIR=" $pkgdir /" install
26+
27+ install -Dm644 ../zclipboard.desktop " $pkgdir /usr/share/applications/zclipboard.desktop"
28+ install -Dm644 ../assets/icon.png " $pkgdir /usr/share/icons/hicolor/256x256/apps/icon.png"
29+ }
You can’t perform that action at this time.
0 commit comments