summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c08e2d5894b89f994c406b3de0d9e4bc43bf9e4c (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
# Maintainer: Neal Buchanan <neal.buchanan@gmx.com>

pkgname=buckets-bin
pkgver=0.72.2
pkgrel=1
pkgdesc="Private budgeting with the envelope budgeting method"
arch=('x86_64')
_arch="amd64"
url="https://www.budgetwithbuckets.com/"
license=('custom: commercial')
depends=('alsa-lib' 'gtk3' 'libxss' 'nss')
optdepends=()
_pkgname=Buckets-ubuntu-22.04
_archivename="${_pkgname}-${_arch}-${pkgver}.deb"
source=("https://github.com/buckets/application/releases/download/v${pkgver}/${_archivename}")
noextract=("${_archivename}")
sha256sums=('b54eb297f151dc37adc05524dbb69a6b94b8729a2719e22b8c5a5f315c79a4df')

package() {
  bsdtar -O -xf "${_archivename}" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -

  install -d "${pkgdir}/usr/bin"

  # Remove unnecessary stuff
  rm -rf "${pkgdir}/usr/share/doc"

  ln -s /opt/Buckets/buckets "${pkgdir}"/usr/bin/buckets
}