PKGBUILDs/aur/arm-mem-git/PKGBUILD

39 lines
788 B
Bash
Raw Normal View History

# 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
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
pkgdesc="ARM-accelerated versions of selected functions from string.h"
2022-03-19 16:26:29 +00:00
arch=('armv7h')
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'
'LICENSE')
md5sums=('SKIP'
'28d63fe2467e38160c025156d21e4e91')
pkgver() {
2022-03-19 16:26:29 +00:00
cd arm-mem
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
2022-03-19 16:26:29 +00:00
cd arm-mem
make
}
package() {
2022-03-19 16:26:29 +00:00
cd arm-mem
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
2022-03-19 16:26:29 +00:00
install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgbase}
}
2015-08-31 00:38:44 +00:00