You are not logged in.

#1 2018-04-04 18:48:10

jesus franco
Member
From: PA, USA
Registered: 2005-05-17
Posts: 68

PKGBUILD review request: Meteo

Before submitting this pkgbuild I wanted to ask the community what would be the best name for the package. It's official name is Meteo, however it's name on git and on other distributions is 'com.github.bitseater.weather' following reverse domain name notation like other Elementary apps. The issue I'm having is weather is generic (and already in use) and meteo is the name of another package in AUR. This is the current pkgbuild.

# Maintainer: Jesus Franco <jesusfranco at gmail dot com>

_pkgname="meteo"
pkgname="meteo"
_gitname=weather
pkgver=0.7.0
pkgrel=1
pkgdesc="Know the forecast of the next hours & days"
arch=('i686' 'x86_64')
url="https://github.com/bitseater/${_gitname}"
license=('GPL3')

depends=('glib2' 'gtk3' 'hicolor-icon-theme' 'vala' 'granite' 'libpurple' 'gtksourceview3' 'libdbusmenu-gtk3' 'libappindicator-gtk3' 'webkit2gtk' 'geocode-glib' 'libchamplain' 'clutter' 'clutter-gtk' 'json-glib' 'libsoup')
optdepends=('elementary-icon-theme')
makedepends=('git' 'desktop-file-utils' 'hicolor-icon-theme' 'intltool' 'yelp-tools' 'gnome-common' 'gobject-introspection' 'meson' 'ninja' 'webkit2gtk')
options=('!libtool')
conflicts=('meteo-git' 'meteo-bzr')
provides=('meteo')
source=("${pkgver}.tar.gz::https://github.com/bitseater/${_gitname}/archive/${pkgver}.tar.gz")
sha256sums=('d57751e2d94cfcc98900ddef8cb875cc3d18ed7cd6fb63a99adbb1511dea4126')

build() {
	cd "${_gitname}-${pkgver}"
	meson build --prefix=/usr
	cd build
	ninja
}

package() {
	cd "${_gitname}-${pkgver}/build"
	DESTDIR="${pkgdir}" ninja install
}

The apps homepage can be found here

Last edited by jesus franco (2018-04-04 18:50:38)

Offline

#2 2018-04-05 09:32:28

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: PKGBUILD review request: Meteo

conflicts=('meteo-git' 'meteo-bzr')
Those don't appear to exist in AUR, also archlinux prefers VCS (or binary using) packages to conflict with the stable version built from source.

provides=('meteo')
a package always provides itself

arch=('i686' 'x86_64')
have you tested this on i686 / archlinux32 ? If not, i advise to remove i686


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2018-04-29 19:43:59

FFY00
Package Maintainer (PM)
From: Portugal
Registered: 2018-04-29
Posts: 2
Website

Re: PKGBUILD review request: Meteo

nvm

Last edited by FFY00 (2018-07-19 13:21:00)

Offline

#4 2018-04-29 21:07:38

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: PKGBUILD review request: Meteo

No, they should get rid of the conflicts all together. It's up to the alternative packages to conflict with the stable one, and a package conflicting with itself is petty much nonsense.

Offline

Board footer

Powered by FluxBB