blob: e3b8c7294f6908fbc6d50149f8e931af268d85d6 (
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
32
33
34
35
|
# Maintainer: Lex Black <autumn-wind at web dot de>
# Contributor: Army [uli.armbruster (the google thing)]
_pkgname=pim
pkgname=pim-git
pkgver=0.10.1.r0.g2f8d537
pkgrel=4
pkgdesc="Python image viewer with vim-like keybindings. Git-Version"
arch=('any')
url="https://github.com/Narrat/Pim"
license=('MIT')
depends=('desktop-file-utils' 'python-gobject>=3.22')
optdepends=("libheif: support for HEIF/HEIC"
"libjxl: support for JPEG XL"
"webp-pixbuf-loader: support for the webp format")
makedepends=('git')
conflicts=('pim')
provides=('pim=0.10.0')
source=('pim::git+https://github.com/Narrat/Pim.git')
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd $_pkgname
install -Dm755 ${_pkgname} ${pkgdir}/usr/bin/${_pkgname}
install -D -m644 LICENSE-MIT $pkgdir/usr/share/licenses/${_pkgname}/LICENSE
install -D -m644 pim.desktop "${pkgdir}/usr/share/applications/pim.desktop"
}
|