blob: 83a9a38c0b3e194cb0eea8270a97fe280853dfe2 (
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
36
37
38
39
|
# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
pkgname=showmypictures-git
pkgver=0.3.0.r11.g034d917
pkgrel=2
pkgdesc="Memories is an photo manager for Pantheon, developed by Artem Anufrij"
arch=(x86_64)
url="http://anufrij.org/memories"
license=(GPL3)
depends=(libgranite.so gtk3 libgexiv2 sqlite libraw webkit2gtk)
makedepends=(vala cmake cmake-modules-elementary-git git)
provides=(showmypictures)
conflicts=(showmypictures)
source=("git+https://github.com/artemanufrij/showmypictures.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname/-git/}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname/-git/}"
install -d build
}
build() {
cd "${pkgname/-git/}/build"
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${pkgname/-git/}/build"
make DESTDIR="${pkgdir}" install
ln -s /usr/bin/com.github.artemanufrij.showmypictures "$pkgdir/usr/bin/showmypictures"
}
|