mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
aur/arm-mem-git to 39.b48ea15-1
This commit is contained in:
parent
67bae286de
commit
7598c863ee
1 changed files with 9 additions and 13 deletions
|
@ -1,42 +1,38 @@
|
|||
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
|
||||
|
||||
# armv7h & armv6h
|
||||
buildarch=4
|
||||
|
||||
pkgname=arm-mem-git
|
||||
pkgver=22.3aee5f4
|
||||
pkgver=39.b48ea15
|
||||
pkgrel=1
|
||||
pkgdesc="ARM-accelerated versions of selected functions from string.h"
|
||||
arch=('armv6h' 'armv7h')
|
||||
arch=('armv7h')
|
||||
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'
|
||||
source=('git+https://github.com/bavison/arm-mem.git'
|
||||
'LICENSE')
|
||||
md5sums=('SKIP'
|
||||
'28d63fe2467e38160c025156d21e4e91')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/arm-mem"
|
||||
cd arm-mem
|
||||
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/arm-mem"
|
||||
cd arm-mem
|
||||
|
||||
[[ $CARCH == "armv7h" ]] && CFLAGS+=" -fPIC"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/arm-mem"
|
||||
cd arm-mem
|
||||
|
||||
mkdir -p "${pkgdir}/"{etc/profile.d,usr/lib,usr/share/licenses/arm-mem-git}
|
||||
install -Dm755 libarmmem-v7l.so -t "${pkgdir}"/usr/lib
|
||||
ln -s /usr/lib/libarmmem-v7l.so "${pkgdir}"/usr/lib/libarmmem.so
|
||||
|
||||
cp "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/arm-mem-git/"
|
||||
cp libarmmem.so "${pkgdir}/usr/lib/"
|
||||
install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgbase}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue