summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f09763b5fe53f48c6a79c0c4be257a0a14c76776 (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
# Maintainer: albakham <contact@geber.ga>
# Co-Maintainer: danvj <geral@danvj.pt>

pkgname=utopia
pkgver=1.3.426
pkgrel=1
pkgdesc='Client for Utopia, an "Anti Orwellian Ecosystem"'
arch=('x86_64')
url='https://u.is'
license=('other')
source=(https://update.u.is/downloads/linux/utopia-latest.amd64.deb)
depends=(libx11 libglvnd libpulse fontconfig)
optdepends=(gst-plugins-base gst-plugins-ugly gst-plugins-good gst-plugins-bad)
sha256sums=('96e1c9b7017ba7342ebcac9558906717d6f6bab9653a77da0a962beb0e4bd0f6')

build() {
  ar -x ${srcdir}/utopia-latest.amd64.deb
  tar -xJf ${srcdir}/data.tar.xz
}

package() {
  install -d "${pkgdir}/opt/"
  cp -r "${srcdir}/opt/${pkgname}" "${pkgdir}/opt/"
  install -Dm644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
  install -Dm755 "${srcdir}/opt/utopia/messenger/utopia" "${pkgdir}/usr/bin/${pkgname}"
  install -Dm644 "${srcdir}/usr/share/pixmaps/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}