summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f4825958effa9f21dfd0060ee432e6c77a7b7f4 (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: Gavin Lyons <glyons66@hotmail.com>
# https://github.com/gavinlyonsrepo/backupmenu
pkgname=backupmenu
pkgver=2.3
pkgrel=4
pkgdesc="Backup program,TUI utility for Linux distro's , bash"
depends=('bashmultitool')
arch=('any')
url="https://github.com/gavinlyonsrepo/backupmenu"
license=('MIT')

source=("https://github.com/gavinlyonsrepo/backupmenu/archive/$pkgver.tar.gz")

sha256sums=('ed5ce2d028ef309b39e59c889c3065bb72aecaa33a5882db3aefa458e880defe')

package() {

    cd "$srcdir/${pkgname}-${pkgver}"
    install -D -m755 main/backupmenu "$pkgdir"/usr/bin/"${pkgname}" 
    install -D -m644 README.md "$pkgdir/usr/share/doc/${pkgname}/Readme.md"

    install -d  "$pkgdir"/usr/share/doc/backupmenu
    install -D -m644  documentation/* "$pkgdir"/usr/share/doc/backupmenu

    install -d  "$pkgdir"/usr/lib/backupmenu/modules
    install -D -m644  modules/* "$pkgdir"/usr/lib/backupmenu/modules
    
    install -D  -m644 desktop/backupmenu.desktop "$pkgdir/usr/share/applications/backupmenu.desktop"
    install -D  -m644 desktop/backupmenuicon.png "$pkgdir/usr/share/pixmaps/backupmenuicon.png"

}