blob: 2b31858fc3fce7f7cde870d55d25716a69c33e11 (
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
|
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
}
|