diff options
author | Vincent Hourdin | 2018-12-31 01:26:53 +0100 |
---|---|---|
committer | Vincent Hourdin | 2018-12-31 01:26:53 +0100 |
commit | 374a27016b748cdceaeaadcc92de432e6d00aae9 (patch) | |
tree | e793e721ba3e1553f93f6cc36551eac42fb1e591 | |
download | aur-374a27016b748cdceaeaadcc92de432e6d00aae9.tar.gz |
creating the git package for already existing release-based package siril
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..88e4ae4fd9da --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = siril-git + pkgdesc = An astronomical image processing software for Linux. (IRIS clone) + pkgver = 759a832 + pkgrel = 1 + url = https://free-astro.org/index.php/Siril + arch = i686 + arch = x86_64 + license = GPLv3 + makedepends = intltool + depends = gtk3 + depends = fftw + depends = cfitsio + depends = gsl + depends = libconfig + depends = opencv + optdepends = libpng: PNG import + optdepends = libjpeg: JPEG import and export + optdepends = libtiff: TIFF import and export + optdepends = libraw: DSLR RAW images import + optdepends = ffms2: films native support as image sequences and import + optdepends = libcurl-gnutls: online astrometry + source = git+https://gitlab.com/free-astro/siril.git + sha1sums = SKIP + +pkgname = siril-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6299ca90bbdf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Vincent Hourdin <vh|at|free-astro=DOT=vinvin.tf> +pkgname=siril-git +_gitname=siril +pkgver=759a832 +pkgrel=1 +pkgdesc="An astronomical image processing software for Linux. (IRIS clone)" +arch=('i686' 'x86_64') +license=('GPLv3') +depends=('gtk3' 'fftw' 'cfitsio' 'gsl' 'libconfig' 'opencv') +makedepends=('intltool') +url="https://free-astro.org/index.php/Siril" +optdepends=('libpng: PNG import' +'libjpeg: JPEG import and export' +'libtiff: TIFF import and export' +'libraw: DSLR RAW images import' +'ffms2: films native support as image sequences and import' +'libcurl-gnutls: online astrometry' +) +source=('git+https://gitlab.com/free-astro/siril.git') +sha1sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_gitname}" + git log -1 --format="%h" +} + +build() { + cd "${_gitname}" + ./autogen.sh --prefix=/usr + make +} + +package() { + cd "${_gitname}" + make DESTDIR="${pkgdir}" install + install -v -d ${pkgdir}/usr/share/applications/ + install -v -d ${pkgdir}/usr/share/mime/packages/ + install -v -m 644 platform-specific/linux/org.free-astro.siril.desktop ${pkgdir}/usr/share/applications/ + install -v -m 644 platform-specific/linux/siril.xml ${pkgdir}/usr/share/mime/packages/ +} |