diff options
author | FabioLolix | 2018-06-16 11:54:58 +0200 |
---|---|---|
committer | FabioLolix | 2018-06-16 11:54:58 +0200 |
commit | de2eb3d15a50320e17178ccfad83b92516070929 (patch) | |
tree | d5eda059d498200fd79c002cb2dc544a2532f391 | |
download | aur-de2eb3d15a50320e17178ccfad83b92516070929.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ad5556f59201 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = showmypictures-git + pkgdesc = Memories is an photo manager for Pantheon, developed by Artem Anufrij + pkgver = 0.2.8.r0.gf2e405d + pkgrel = 1 + url = http://anufrij.org/memories + arch = x86_64 + license = GPL3 + makedepends = vala + makedepends = cmake + makedepends = cmake-modules-elementary-git + makedepends = git + depends = libgranite.so + depends = gtk3 + depends = libgexiv2 + depends = sqlite + provides = showmypictures + conflicts = showmypictures + source = showmypictures-git::git+https://github.com/artemanufrij/showmypictures.git + sha256sums = SKIP + +pkgname = showmypictures-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b8c2d506bc52 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix + +pkgname=showmypictures-git +pkgver=0.2.8.r0.gf2e405d +pkgrel=1 +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') +makedepends=('vala' 'cmake' 'cmake-modules-elementary-git' 'git') +provides=(showmypictures) +conflicts=(showmypictures) +source=("${pkgname}::git+https://github.com/artemanufrij/showmypictures.git") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "${pkgname}" + install -d build +} + +build() { + cd "${pkgname}/build" + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${pkgname}/build" + make DESTDIR="${pkgdir}" install +} |