blob: 09acc5999ef9190acdaebecb7dd05cc686e27804 (
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
|
# Maintainer: Dr-42 <royspandan1@gmail.com>
pkgname=imeye
pkgver=r33.6952f6b
pkgrel=1
pkgdesc="A simple image viewer"
arch=('x86_64')
url="https://github.com/Dr-42/imeye"
license=('BSD-2-Clause')
depends=('glew' 'glfw' 'glibc' 'libglvnd' 'libx11' 'libxcb' 'libxau' 'libxdmcp')
makedepends=('git' 'stb')
source=("$pkgname::git+https://github.com/Dr-42/imeye.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
install -Dm755 ./build/bin/imeye "$pkgdir"/usr/bin/imeye
install -Dm644 ./LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 ./imeye.desktop "$pkgdir"/usr/share/applications/imeye.desktop
install -Dm644 ./icon.png "$pkgdir"/usr/share/pixmaps/imeye.png
}
|