Project

General

Profile

(View Message) ยป PKGBUILD.txt

ryry, 2019-12-05 10:42 PM

 
1
 This is an example PKGBUILD file. Use this as a start to creating your own,
2
# and remove these comments. For more information, see 'man PKGBUILD'.
3
# NOTE: Please fill out the license field for your package! If it is unknown,
4
# then please put 'unknown'.
5

    
6
# Maintainer: 000000000 <0@0.net>
7
pkgname=libsignal-protocol-c
8
pkgver=2.3.2
9
pkgrel=1
10
epoch=
11
pkgdesc="Signal Protocol C Library"
12
arch=('x86_64')
13
url="https://github.com/signalapp/libsignal-protocol-c"
14
license=('GPL3')
15
groups=()
16
depends=()
17
makedepends=('cmake')
18
checkdepends=('check' 'openssl>=1.0')
19
optdepends=()
20
provides=()
21
conflicts=()
22
replaces=()
23
backup=()
24
options=()
25
install=
26
changelog=
27
source=(https://github.com/WhisperSystems/$pkgname/archive/v$pkgver.tar.gz)
28
noextract=()
29
md5sums=('ad742a03263c29a468d00c3dcc0269cf')
30
validpgpkeys=()
31

    
32
prepare() {
33
	cd "$pkgname-$pkgver"
34

    
35
}
36

    
37
build() {
38
	cd "$pkgname-$pkgver"
39
	cmake -DCMAKE_BUILD_TYPE=Release
40
	make 
41
}
42

    
43
check() {
44
	cd "$pkgname-$pkgver"
45
	
46
	
47
	
48
}
49

    
50
package() {
51
	cd "$pkgname-$pkgver"
52
	make DESTDIR="$pkgdir/" install
53
}
54

    
55

    
56

    
    (1-1/1)