2013-06-12 14:31:48 +00:00
|
|
|
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
|
|
|
|
|
2015-08-31 00:38:44 +00:00
|
|
|
# armv7h & armv6h
|
2022-02-07 02:17:01 +00:00
|
|
|
buildarch=4
|
2013-06-12 14:51:06 +00:00
|
|
|
|
2013-06-12 14:31:48 +00:00
|
|
|
pkgname=arm-mem-git
|
2015-08-31 00:38:44 +00:00
|
|
|
pkgver=22.3aee5f4
|
2014-06-09 08:30:21 +00:00
|
|
|
pkgrel=1
|
2013-06-12 14:31:48 +00:00
|
|
|
pkgdesc="ARM-accelerated versions of selected functions from string.h"
|
2015-08-31 00:38:44 +00:00
|
|
|
arch=('armv6h' 'armv7h')
|
2013-06-12 14:31:48 +00:00
|
|
|
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')
|
2013-06-12 15:11:45 +00:00
|
|
|
md5sums=('SKIP'
|
|
|
|
'28d63fe2467e38160c025156d21e4e91')
|
2013-06-12 14:31:48 +00:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "${srcdir}/arm-mem"
|
|
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/arm-mem"
|
|
|
|
|
2015-08-31 00:57:56 +00:00
|
|
|
[[ $CARCH == "armv7h" ]] && CFLAGS+=" -fPIC"
|
2013-06-12 14:31:48 +00:00
|
|
|
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/"
|
|
|
|
}
|
2015-08-31 00:38:44 +00:00
|
|
|
|