summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f0ddef4e3ccc7fc1fe913fe9769e4cd03ef89144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Akari-chan <`echo YmJlZWRzaTRAYW5vbmFkZHkubWUK | base64 -d`>

pkgname="clpimg-git"
_pkgname=${pkgname%-git}
pkgver=r11.4db6f88
pkgrel=1
pkgdesc="copy images to clipboard on linux using qt backend"

arch=("any")
license=("GPL")
url="https://github.com/MahouShoujoMivutilde/clpimg"

depends=('python-pyqt5')
makedepends=('git')

source=("$pkgname::git+$url.git")
md5sums=("SKIP")

provides=("$_pkgname")
conflicts=("$_pkgname")


pkgver() {
    cd "$srcdir/$pkgname"
    printf 'r%s.%s\n' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir/$pkgname"
    make PREFIX=/usr DESTDIR="$pkgdir" install
}