# Maintainer: Oliver Smith <ollieparaoid@postmarketos.org>
pkgname=postmarketos-release-upgrade
pkgver=1.3.1
pkgrel=0
pkgdesc="Upgrade from one pmOS release to the next one"
url="https://gitlab.com/postmarketOS/postmarketos-release-upgrade/"
source="
	https://gitlab.com/postmarketOS/postmarketos-release-upgrade/-/archive/$pkgver/postmarketos-release-upgrade-$pkgver.tar.bz2
"
arch="noarch"
license="GPL-3.0-or-later"
options="!check" # No tests

package() {
	install -Dm755 upgrade.sh "$pkgdir"/usr/bin/postmarketos-release-upgrade
}

sha512sums="
bcd55ebb668721a653d6824e95bda3751f1d87a80b68f1da02100231d7391668f36c8a57cc46a5be2aa4c9b6db1fd29937541bf2c87ad2bac91a243791197c32  postmarketos-release-upgrade-1.3.1.tar.bz2
"
