summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 115d2382ac061ddae994dfd101955c65e84b24b0 (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
pkgname=controls
pkgver=1.0
pkgrel=1
pkgdesc="Data and passwords manager"
arch=('any')
url="https://gitlab.com/alexvim/controls"
license=('GPLv3')
makedepends=('cmake')
depends=(
    'zip'
    'unzip'
)
source=("https://gitlab.com/alexvim/controls/-/raw/master/${pkgname}-${pkgver}-${pkgrel}.tar.gz")
md5sums=('826c4c150be79c17e270a7498df7bbc7')
build() {
        cd ${srcdir}
        cmake CMakeLists.txt
    	make
}
package() {
    	cd ${srcdir}
        mkdir -p "${pkgdir}/usr/bin/"
        mkdir -p "~/.controls/backup/"
        mkdir -p "~/.controls/build/"
        mkdir -p "~/.controls/controls/"
        mkdir -p "~/.controls/data/"
        install -Dm755 controls "${pkgdir}/usr/bin/"
}