summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilal Elmoussaoui2018-01-13 11:58:31 +0100
committerBilal Elmoussaoui2018-01-13 11:58:31 +0100
commitc7c07a8f0f1083e2d99a85d7281f0b89c9482f19 (patch)
tree3dab7a7cfe1d1f67697da54618d91eb1527cec0d
downloadaur-c7c07a8f0f1083e2d99a85d7281f0b89c9482f19.tar.gz
init version of Dippi
-rw-r--r--.SRCINFO25
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD25
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8000126a7ec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = dippi
+ pkgdesc = Calculate display info like DPI and aspect ratio
+ pkgver = 2.3.3
+ pkgrel = 1
+ url = https://github.com/cassidyjames/dippi
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = gnome-common
+ makedepends = desktop-file-utils
+ makedepends = meson
+ makedepends = gettext
+ makedepends = appstream-glib
+ makedepends = vala
+ depends = gtk3
+ depends = gobject-introspection
+ depends = libgee
+ depends = granite
+ provides = dippi=2.3.3
+ options = !emptydirs
+ source = https://github.com/cassidyjames/dippi/archive/2.3.3.tar.gz
+ sha256sums = 0839ff2d66121cd76f86abb77cd2535ae0d0840fc08354e388065f902df6c97d
+
+pkgname = dippi
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..a6e3e94fcff
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+src/
+pkg/
+*.tar.xz
+*.tar.gz
+*.zip \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..61f21ba21de
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: ELmoussaoui Bilal <bil.elmoussaoui@gmail.com>
+
+pkgname=dippi
+pkgver=2.3.3
+pkgrel=1
+pkgdesc='Calculate display info like DPI and aspect ratio'
+arch=('i686' 'x86_64')
+license=('GPL3')
+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')
+provides=("dippi=${pkgver}")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ meson builddir --prefix=/usr
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" ninja -C builddir install
+}