summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4664ec97d817190721d9156117dd33ec809fa2b3 (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
# Maintainer: François M. <francois5537 @ gmail.com>

pkgname=manager-accounting
pkgver=15.5.41
pkgrel=1
pkgdesc='Manager is free accounting software for small business'
arch=('i686' 'x86_64')
license=('custom')
url="http://www.manager.io/"
depends=('mono' 'gtk2' 'gtk-sharp-2' 'webkit-sharp')
makedepends=('unzip')
install=manager-accounting.install
options=('!makeflags')
source=("http://download.manager.io/$pkgname.zip"
        "fix-path.patch"
        "manager-accounting.desktop")
sha256sums=('9968175d3f0b5beab7a2417f26b97be1b86fd2e866763847cebbf74b2e3084ff'
            '845be6d1c2f90597cac8ec7a35f4661030f067fb91fc7163c98456ffb1776adf'
            'a90354b1af982e8bda3adbcfbfb5ac5f83c6e80da402ecf4a54a0200ed9a6195')

prepare() {
    tar --strip-components=1 -zxvf "manager-accounting_$pkgver.tar.gz"
    patch -p1 -i "${srcdir}/fix-path.patch"
}

package() {
    install -d "$pkgdir"/usr/{lib,share/{applications,icons}}
    cp -r opt/manager-accounting "$pkgdir/usr/lib/"
    cp -r usr/share/icons/* "$pkgdir/usr/share/icons/"
    install -m644 "$pkgname.desktop" "$pkgdir/usr/share/applications/"
}