mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
38 lines
788 B
Bash
38 lines
788 B
Bash
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=arm-mem-git
|
|
pkgver=39.b48ea15
|
|
pkgrel=1
|
|
pkgdesc="ARM-accelerated versions of selected functions from string.h"
|
|
arch=('armv7h')
|
|
url="https://github.com/bavison/arm-mem"
|
|
license=('BSD')
|
|
makedepends=('git')
|
|
install=arm-mem.install
|
|
source=('git+https://github.com/bavison/arm-mem.git'
|
|
'LICENSE')
|
|
md5sums=('SKIP'
|
|
'28d63fe2467e38160c025156d21e4e91')
|
|
|
|
pkgver() {
|
|
cd arm-mem
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
}
|
|
|
|
build() {
|
|
cd arm-mem
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd arm-mem
|
|
|
|
install -Dm755 libarmmem-v7l.so -t "${pkgdir}"/usr/lib
|
|
ln -s /usr/lib/libarmmem-v7l.so "${pkgdir}"/usr/lib/libarmmem.so
|
|
|
|
install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgbase}
|
|
}
|
|
|