Skip to content

Instantly share code, notes, and snippets.

Created January 20, 2015 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3466ff2eca6749b50448 to your computer and use it in GitHub Desktop.
Save anonymous/3466ff2eca6749b50448 to your computer and use it in GitHub Desktop.
PKGBUILD
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
# Contributor: Andrew Bibb <ajbibb@myfairpoint.net>
pkgname=cmst-git
_pkgname=cmst
pkgver=2014.12.14.r31.ga0f940a
pkgrel=1
pkgdesc="A QT based GUI front end for the connman connection manager with systemtray icon"
arch=('i686' 'x86_64')
url="https://github.com/andrew-bibb/cmst"
license=('MIT')
provides=('cmst')
conflicts=('cmst')
depends=('qt5-base' 'connman' 'libxkbcommon-x11' 'hicolor-icon-theme')
source=("cmst::git+https://github.com/andrew-bibb/cmst.git")
md5sums=(SKIP)
install=${pkgname}.install
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags | sed 's/^cmst-//; s/-/.r/; s/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
qmake-qt5 DISTRO=arch
make
}
package() {
cd "$srcdir/$_pkgname"
make INSTALL_ROOT="$pkgdir/" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment