summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 21bb6b08eb97b1a87e3965723ec88d656a74f6d5 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Maintainer: Armando Ibarra <armandoibarra1@gmail.com>
# Contributor: flaketill <armandoibarra1 at gmail dot com>

pkgname=flaketill-says
pkgver=0.0.1
pkgrel=2

pkgdesc="An app for your console to proyects manager, for example if you write on your \
console application flaketill says: What do yo do? In 
the future i'll build an app like jarvis but for moment is a dream"
arch=('x86_64')
url="https://artpcweb.appspot.com/"
license=('GPL')

depends=('python2' 'espeak')
checkdepends=('bash')
makedepends=('lxterminal' 'terminator' 'namcap')
optdepends=('gksu: sudo-save support',
			'alsa-lib: sound support')

#source_x86_64=("https://raw.githubusercontent.com/flaketill/flaketill-says/testing/dist/aur/flaketill-says")

install=${pkgname}.install

#source=("$pkgname-$pkgver.tar.gz"
#        "$pkgname-$pkgver.patch")

source=("${pkgname}.desktop"
		"$pkgname"
		"LICENSE")

md5sums=('b92a253536ce1275a8c91d6ed9d7b2f7'
         'ccc2acc3cf18f71c517e42fc2eb4d77b'
         '985eca66feaf0170850231d4616b3074')

build() {
	
	#cd "$pkgname-$pkgver"
	#./configure --prefix=/usr
	#make

	cd "${srcdir}"
}

check() {
	
	#cd "$pkgname-$pkgver"
	#make -k check

	cd "${srcdir}"
	#check if exist files base

	#if [ -f "${pkgname}"" ]; then
	#	if [ -f "${pkgname}.desktop"]; then
	#		exit 1
	#	fi
	#else
	#	exit 0
	#fi
}

package() {

	cd "${srcdir}"

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

	#cp --preserve=mode -r "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"

	install -dm755 "${pkgdir}/usr/share/applications"

	install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"

	install -Dm755 ${pkgname} "$pkgdir"/usr/bin/${pkgname}

	install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

}