# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>

pkgname=deepin-account-faces
pkgver=1.0.17
pkgrel=1
pkgdesc='Account faces for Linux Deepin'
arch=('any')
license=('GPL3')
url="https://github.com/linuxdeepin/dde-account-faces"
conflicts=('dde-account-faces')
replaces=('dde-account-faces')
groups=('deepin')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-account-faces/archive/$pkgver.tar.gz")
sha512sums=('5368119f9326339df4b674f909a6ec04a6b5d908d4a8d837c97b86378f59bbab667c783ff6448d91c31bfcce3c23ec420e1c561cfe0eb53e3794b333a751d1eb')

package() {
  cd dde-account-faces-$pkgver
  make DESTDIR="$pkgdir" install
  chmod 775 "$pkgdir"/var/lib/AccountsService/icons
}
