blob: 155a765f216e174797fccb198504fe34aa7d7ce8 (
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
|
# Copyright (C) 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
pkgname=libsamsung-ipc-git
pkgver=0.3.1.r703.7c5e96a
pkgrel=1
pkgdesc="samsung-ipc modem protocol implementation."
arch=('armv7h' 'i686' 'x86_64')
license=('GPL2')
makedepends=('autoconf'
'automake'
'coreutils'
'ddrescue'
'gawk'
'grep'
'libtool'
'pkg-config'
'python'
'python-sh'
'sed'
'valgrind')
depends=('openssl')
pkgver() {
_base_version="0.3.1"
_base_revision="5cb3e7cb99701cae738693f2d6a6797a4d2df679"
if [ -d ../../.git ] ; then
printf "%s.r%s.%s" \
"${_base_version}" \
"$(git -C ../../ rev-list --count HEAD)" \
"$(git -C ../../ rev-parse --short HEAD)"
else
date "+%Y%m%d"
fi
}
build() {
../../autogen.sh
../../configure \
--prefix=/usr \
--enable-debug --enable-valgrind-tests --enable-strict-cflags
make
}
check() {
make check
}
package(){
make DESTDIR="$pkgdir" install
}
|