diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bed3910f67e8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = astrofocuser + pkgdesc = A tool to help star focusing in astrophotogaphy using FWHM method + pkgver = 1.1.3 + pkgrel = 1 + url = http://sourceforge.net/projects/astrofocuser/ + arch = i686 + arch = x86_64 + license = GPLv3 + makedepends = cmake + depends = qt4 + source = http://sourceforge.net/projects/astrofocuser/files/release/astrofocuser_1.1.3_src.tar.gz + sha1sums = 1fc947e0874e7673b7aa9671d1f9be1c9ee67130 + +pkgname = astrofocuser + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2b31858fc3fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=astrofocuser +pkgver=1.1.3 +pkgrel=1 +pkgdesc="A tool to help star focusing in astrophotogaphy using FWHM method" +url="http://sourceforge.net/projects/astrofocuser/" +arch=('i686' 'x86_64') +license=('GPLv3') +depends=('qt4') +#optdepends=('sdl') +makedepends=('cmake') +source=("http://sourceforge.net/projects/astrofocuser/files/release/astrofocuser_${pkgver}_src.tar.gz") +sha1sums=('1fc947e0874e7673b7aa9671d1f9be1c9ee67130') + +build() { + cd "${srcdir}/${pkgname}_${pkgver}_src" + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr . + make +} + +package() { + cd "${srcdir}/${pkgname}_${pkgver}_src" + make DESTDIR=$pkgdir install +} + |