diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 11 | ||||
-rw-r--r-- | disable-geonames.patch | 19 |
3 files changed, 9 insertions, 31 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Sun Nov 20 16:15:02 UTC 2016 pkgbase = calcelestial pkgdesc = calculates positions, rise and set times of celestial bodies - pkgver = 0.3 + pkgver = 0.4.1 pkgrel = 1 url = http://www.steffenvogel.de/2012/12/23/cron-jobs-fur-sonnenauf-untergang/ arch = i686 @@ -9,10 +11,8 @@ pkgbase = calcelestial arch = armv7h license = GPL3 depends = libnova - source = https://github.com/stv0g/calcelestial/archive/0.3.tar.gz - source = disable-geonames.patch - md5sums = SKIP - md5sums = a4bc96095f1096c6357150577650c438 + source = https://github.com/stv0g/calcelestial/archive/0.4.1.tar.gz + md5sums = cac61a6bfc245fba2df0d6a6e33d01e6 pkgname = calcelestial @@ -1,26 +1,23 @@ pkgname=calcelestial -pkgver=0.3 +pkgver=0.4.1 pkgrel=1 pkgdesc="calculates positions, rise and set times of celestial bodies" arch=('i686' 'x86_64' 'armv6h' 'armv7h') url="http://www.steffenvogel.de/2012/12/23/cron-jobs-fur-sonnenauf-untergang/" license=('GPL3') depends=('libnova') -source=("https://github.com/stv0g/${pkgname}/archive/${pkgver}.tar.gz" - "disable-geonames.patch") -md5sums=('SKIP' - 'a4bc96095f1096c6357150577650c438') +source=("https://github.com/stv0g/${pkgname}/archive/${pkgver}.tar.gz") +md5sums=('cac61a6bfc245fba2df0d6a6e33d01e6') conflicts=() provides=() prepare() { cd "${pkgname}-${pkgver}" - patch -i ../disable-geonames.patch -p1 } build() { cd "${pkgname}-${pkgver}" - ./autogen.sh + autoreconf -i ./configure --prefix=/usr --disable-geonames make } diff --git a/disable-geonames.patch b/disable-geonames.patch deleted file mode 100644 index 71e2cc5daf89..000000000000 --- a/disable-geonames.patch +++ /dev/null @@ -1,19 +0,0 @@ -Index: calcelestial/src/calcelestial.c -=================================================================== ---- calcelestial.orig/src/calcelestial.c -+++ calcelestial/src/calcelestial.c -@@ -242,14 +242,6 @@ int main(int argc, char *argv[]) { - error = true; - } - --#ifdef GEONAMES_SUPPORT -- /* lookup place at http://geonames.org */ -- if (query && geonames_lookup(query, (struct pos *) &obs, NULL, 0) != 0) { -- fprintf(stderr, "failed to lookup location: %s\n", query); -- error = true; -- } --#endif -- - /* validate observer coordinates */ - if (fabs(obs.lat) > 90) { - fprintf(stderr, "invalid latitude, use --lat\n"); |