blob: e7535ece27e6f25e7d63d3d9a8d76d3e49d40876 (
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
|
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
# armv7h & armv6h
buildarch=20
pkgname=arm-mem-git
pkgver=22.3aee5f4
pkgrel=1
pkgdesc="ARM-accelerated versions of selected functions from string.h"
arch=('armv6h' 'armv7')
url="https://github.com/bavison/arm-mem"
license=('BSD')
makedepends=('git')
conflicts=('libcofi_rpi-git')
provides=('libcofi_rpi-git')
install=arm-mem.install
source=('arm-mem::git://github.com/bavison/arm-mem.git'
'LICENSE')
md5sums=('SKIP'
'28d63fe2467e38160c025156d21e4e91')
pkgver() {
cd "${srcdir}/arm-mem"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd "${srcdir}/arm-mem"
make
}
package() {
cd "${srcdir}/arm-mem"
mkdir -p "${pkgdir}/"{etc/profile.d,usr/lib,usr/share/licenses/arm-mem-git}
cp "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/arm-mem-git/"
cp libarmmem.so "${pkgdir}/usr/lib/"
}
|