summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d7320c2a1af5d88f01edac580c62aa0aa85d743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Daniels <voiceofwise1 at gmail dot com>
# Contributor: Frederic Bezies <fredbezies at gmail dot com>

pkgname=user-admin
pkgver=1.7.0
pkgrel=1
pkgdesc="Mate-Desktop user management tool"
arch=('x86_64')
url="https://github.com/zhuyaliang/user-admin"
license=('GPL3')
depends=('group-service' 'accountsservice' 'libpwquality' 'mate-desktop')
makedepends=('gettext' 'itstool' 'vala' 'meson' 'ninja' 'gobject-introspection' )
options=(!emptydirs)
source=(https://github.com/zhuyaliang/user-admin/archive/v$pkgver.tar.gz)
sha256sums=('b4eb0783b382ed9405c76b765148d105dd113e20f66e61ad63d6fb7de7cafe1d')

build() {
  cd $pkgname-$pkgver
  mkdir -p builddir
  cd builddir
  meson --prefix=/usr
  ninja
}

package() {
  cd $pkgname-$pkgver
  mkdir -p builddir
  cd builddir
  DESTDIR="$pkgdir" ninja install
}

# vim:set ts=2 sw=2 et: