temp/megapixels-purism: fix provides (MR 3597)

The pkgver is significantly lower (0.19) than the one of megapixels
(1.5.2 as of writing), so we can use the versioned provides here. If it
was closer so megapixels-purism's pkgver could become higher than
megapixels in the future, then we should use unversioned provides with
provider priorities instead.
This commit is contained in:
Oliver Smith 2022-10-30 14:19:10 +01:00
parent 5e73fe103a
commit 73376dee97
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,7 +1,7 @@
# Purism's fork of megapixels, for the Librem 5
pkgname=megapixels-purism
pkgver=0.19.0
pkgrel=1
pkgrel=2
pkgdesc="GTK+3 camera app for mobile devices"
url="https://source.puri.sm/Librem5/megapixels"
arch="all"
@ -24,7 +24,7 @@ makedepends="
"
source="https://source.puri.sm/Librem5/millipixels/-/archive/v$pkgver/millipixels-v$pkgver.tar.gz"
options="!check" # There's no testsuite
provides="megapixels=$pkgver"
provides="megapixels=$pkgver-r$pkgrel"
builddir="$srcdir/millipixels-v$pkgver"
build() {