[arch-commits] Commit in adriconf/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Sep 13 11:10:16 UTC 2019


    Date: Friday, September 13, 2019 @ 11:10:15
  Author: foutrelis
Revision: 510295

archrelease: copy trunk to community-staging-x86_64

Added:
  adriconf/repos/community-staging-x86_64/
  adriconf/repos/community-staging-x86_64/PKGBUILD
    (from rev 510294, adriconf/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: adriconf/repos/community-staging-x86_64/PKGBUILD (from rev 510294, adriconf/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-09-13 11:10:15 UTC (rev 510295)
@@ -0,0 +1,40 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=adriconf
+pkgver=1.4
+pkgrel=2
+pkgdesc="GUI tool to configure Mesa drivers by setting options and writing them to the standard drirc file"
+arch=(x86_64)
+url="https://github.com/jlHertel/adriconf"
+license=(GPL3)
+depends=(boost-libs gtkmm3 libxml++ pciutils)
+makedepends=(boost cmake git gtest)
+_commit=5491ad8d813731274e337a7125d98735e1722028  # tags/v1.4
+source=("git+https://github.com/jlHertel/adriconf#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  cd ../$pkgname
+  install -Dm644 flatpak/br.com.jeanhertel.adriconf.appdata.xml "$pkgdir/usr/share/metainfo/br.com.jeanhertel.adriconf.appdata.xml"
+  install -Dm644 flatpak/br.com.jeanhertel.adriconf.desktop "$pkgdir/usr/share/applications/br.com.jeanhertel.adriconf.desktop"
+  install -Dm644 flatpak/br.com.jeanhertel.adriconf.png "$pkgdir/usr/share/icons/hicolor/256x256/apps/br.com.jeanhertel.adriconf.png"
+}


More information about the arch-commits mailing list