Skip to content

Commit

Permalink
Add PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
lah7 committed Oct 28, 2024
1 parent a5cf893 commit 23efba4
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Python
__pycache__
.pyc

# Arch Linux packaging
pkg/
src/
*.pkg.tar.zst
26 changes: 26 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Maintainer: Luke Horwell <code (at) horwell (dot) me>

pkgname=clipqture
pkgver=1.0.0
pkgrel=1
pkgdesc="Minimal clipboard monitor"
arch=(any)
url="https://github.com/lah7/clipqture"
license=(LGPL-2.1-or-later)
depends=(
python-pyqt6
python-setproctitle
)
makedepends=()
source=("git+https://github.com/lah7/clipqture/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('afc91733fad4d5366d83c6767b11a51dd0d183292df2eff733d84f77c017ba16')

package() {
cd "$pkgname"
mkdir -p "$pkgdir/etc/xdg/autostart"
mkdir -p "$pkgdir/usr/bin"
mkdir -p "$pkgdir/usr/share/applications"
cp -v clipqture.py "$pkgdir/usr/bin/clipqture"
cp -v clipqture.desktop "$pkgdir/etc/xdg/autostart/"
cp -v clipqture.desktop "$pkgdir/usr/share/applications/"
}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ It is designed for **text only** and under X11.

## Installation

If you use Arch, there is a supplied PKGBUILD.

git clone https://github.com/lah7/clipqture.git
makepkg -i

For other distributions:

1. Make sure you have PyQt6 installed.

2. Copy files:
Expand Down

0 comments on commit 23efba4

Please sign in to comment.