summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD38
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bb3b49f8650
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = pace-cli
+ pkgdesc = A simple pacman.conf CLI editor
+ pkgver = 1.4.0
+ pkgrel = 1
+ url = https://gitlab.com/tarmaciltur/pace
+ arch = x86_64
+ license = GPL3
+ makedepends = meson
+ makedepends = vala
+ makedepends = git
+ makedepends = polkit
+ depends = glib2
+ optdepends = polkit
+ provides = pace
+ conflicts = pace
+ source = https://gitlab.com/tarmaciltur/pace/-/archive/1.4.0/pace-1.4.0.tar.gz
+ sha256sums = e1a954fdc6a5043f95c9d8b2fd68f6a38b79b32ad4a4d65e918e897aa255198f
+
+pkgname = pace-cli
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..274f3413b1d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Fernando Fernandez <fernando@softwareperonista.com.ar>
+
+_project_name=pace
+pkgname=${_project_name}-cli
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='A simple pacman.conf CLI editor'
+arch=('x86_64')
+license=('GPL3')
+url='https://gitlab.com/tarmaciltur/pace'
+depends=('glib2')
+makedepends=('meson' 'vala' 'git' 'polkit')
+optdepends=('polkit')
+conflicts=('pace')
+provides=('pace')
+source=("https://gitlab.com/tarmaciltur/${_project_name}/-/archive/${pkgver}/${_project_name}-${pkgver}.tar.gz")
+sha256sums=('e1a954fdc6a5043f95c9d8b2fd68f6a38b79b32ad4a4d65e918e897aa255198f')
+
+build() {
+ cd ${_project_name}
+
+ arch-meson . build --wrap-mode=nofallback -Dgui=false
+
+ ninja -C build
+}
+
+check () {
+ cd ${_project_name}
+
+ ninja -C build test
+}
+
+package() {
+ cd ${_project_name}
+
+ DESTDIR="$pkgdir" ninja -C build install
+}