diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8987a3405db6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Cleiton Floss <cleitonfloss@gmail.com> + +pkgname=switchboard-plug-pantheon-tweaks-git +pkgver=r447.96ed0ce +pkgrel=1 +pkgdesc='Pantheon Tweaks plug for Switchboard' +arch=('x86_64') +url='https://github.com/pantheon-tweaks/pantheon-tweaks' +license=('GPL3') +groups=('pantheon-unstable') +depends=('glib2' 'gtk3' 'libgee' + 'libgranite.so' 'libswitchboard-2.0.so') +makedepends=('git' 'meson' 'vala') +provides=('switchboard-plug-pantheon-tweaks-git') +conflicts=('switchboard-plug-pantheon-tweaks') +source=('switchboard-plug-pantheon-tweaks::git+https://github.com/pantheon-tweaks/pantheon-tweaks.git') +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/switchboard-plug-pantheon-tweaks" + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +build() { + arch-meson switchboard-plug-pantheon-tweaks build + ninja -C build +} + +package() { + DESTDIR="${pkgdir}" ninja -C build install +} + +# vim: ts=2 sw=2 et: |