Skip to content

Commit 0af46f6

Browse files
Add PKGBUILD file for zclipboard package
1 parent 7851303 commit 0af46f6

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

PKGBUILD

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
}

0 commit comments

Comments
 (0)