2013-06-12 14:31:48 +00:00
|
|
|
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
|
|
|
|
|
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
|
2022-03-19 16:26:29 +00:00
|
|
|
pkgver=39.b48ea15
|
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"
|
2022-03-19 16:26:29 +00:00
|
|
|
arch=('armv7h')
|
2013-06-12 14:31:48 +00:00
|
|
|
url="https://github.com/bavison/arm-mem"
|
|
|
|
license=('BSD')
|
|
|
|
makedepends=('git')
|
|
|
|
install=arm-mem.install
|
2022-03-19 16:26:29 +00:00
|
|
|
source=('git+https://github.com/bavison/arm-mem.git'
|
2013-06-12 14:31:48 +00:00
|
|
|
'LICENSE')
|
2013-06-12 15:11:45 +00:00
|
|
|
md5sums=('SKIP'
|
|
|
|
'28d63fe2467e38160c025156d21e4e91')
|
2013-06-12 14:31:48 +00:00
|
|
|
|
|
|
|
pkgver() {
|
2022-03-19 16:26:29 +00:00
|
|
|
cd arm-mem
|
2013-06-12 14:31:48 +00:00
|
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2022-03-19 16:26:29 +00:00
|
|
|
cd arm-mem
|
2013-06-12 14:31:48 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-03-19 16:26:29 +00:00
|
|
|
cd arm-mem
|
2013-06-12 14:31:48 +00:00
|
|
|
|
2022-03-19 16:26:29 +00:00
|
|
|
install -Dm755 libarmmem-v7l.so -t "${pkgdir}"/usr/lib
|
|
|
|
ln -s /usr/lib/libarmmem-v7l.so "${pkgdir}"/usr/lib/libarmmem.so
|
2013-06-12 14:31:48 +00:00
|
|
|
|
2022-03-19 16:26:29 +00:00
|
|
|
install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgbase}
|
2013-06-12 14:31:48 +00:00
|
|
|
}
|
2015-08-31 00:38:44 +00:00
|
|
|
|