summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8000126a7ec..de3e692c326 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = dippi
pkgdesc = Calculate display info like DPI and aspect ratio
- pkgver = 2.3.3
+ pkgver = 2.7.3
pkgrel = 1
url = https://github.com/cassidyjames/dippi
arch = i686
@@ -16,10 +16,10 @@ pkgbase = dippi
depends = gobject-introspection
depends = libgee
depends = granite
- provides = dippi=2.3.3
+ provides = dippi=2.7.3
options = !emptydirs
- source = https://github.com/cassidyjames/dippi/archive/2.3.3.tar.gz
- sha256sums = 0839ff2d66121cd76f86abb77cd2535ae0d0840fc08354e388065f902df6c97d
+ source = dippi-2.7.3.tar.gz::https://github.com/cassidyjames/dippi/archive/2.7.3.tar.gz
+ sha256sums = f11fba48e2dba490b404574027c18e2c8f45b1965df8d5ae512ebe0abae9900e
pkgname = dippi
diff --git a/PKGBUILD b/PKGBUILD
index 61f21ba21de..941ccbbe1d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: ELmoussaoui Bilal <bil.elmoussaoui@gmail.com>
+# Maintainer: Andrew Sun <adsun701@gmail.com>
+# Contributor: ELmoussaoui Bilal <bil.elmoussaoui@gmail.com>
pkgname=dippi
-pkgver=2.3.3
+pkgver=2.7.3
pkgrel=1
pkgdesc='Calculate display info like DPI and aspect ratio'
arch=('i686' 'x86_64')
@@ -10,16 +11,15 @@ url="https://github.com/cassidyjames/dippi"
depends=('gtk3' 'gobject-introspection' 'libgee' 'granite')
makedepends=('gnome-common' 'desktop-file-utils' 'meson' 'gettext' 'appstream-glib' 'vala')
options=('!emptydirs')
-source=("https://github.com/cassidyjames/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('0839ff2d66121cd76f86abb77cd2535ae0d0840fc08354e388065f902df6c97d')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/cassidyjames/${pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('f11fba48e2dba490b404574027c18e2c8f45b1965df8d5ae512ebe0abae9900e')
provides=("dippi=${pkgver}")
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- meson builddir --prefix=/usr
+ arch-meson "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/build"
+ ninja -C build
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- DESTDIR="${pkgdir}" ninja -C builddir install
+ DESTDIR="${pkgdir}" meson install -C "${srcdir}/build"
}