mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +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>
|
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
|
||||||
|
|
||||||
# armv7h & armv6h
|
|
||||||
buildarch=4
|
buildarch=4
|
||||||
|
|
||||||
pkgname=arm-mem-git
|
pkgname=arm-mem-git
|
||||||
pkgver=22.3aee5f4
|
pkgver=39.b48ea15
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="ARM-accelerated versions of selected functions from string.h"
|
pkgdesc="ARM-accelerated versions of selected functions from string.h"
|
||||||
arch=('armv6h' 'armv7h')
|
arch=('armv7h')
|
||||||
url="https://github.com/bavison/arm-mem"
|
url="https://github.com/bavison/arm-mem"
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
conflicts=('libcofi_rpi-git')
|
|
||||||
provides=('libcofi_rpi-git')
|
|
||||||
install=arm-mem.install
|
install=arm-mem.install
|
||||||
source=('arm-mem::git://github.com/bavison/arm-mem.git'
|
source=('git+https://github.com/bavison/arm-mem.git'
|
||||||
'LICENSE')
|
'LICENSE')
|
||||||
md5sums=('SKIP'
|
md5sums=('SKIP'
|
||||||
'28d63fe2467e38160c025156d21e4e91')
|
'28d63fe2467e38160c025156d21e4e91')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "${srcdir}/arm-mem"
|
cd arm-mem
|
||||||
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/arm-mem"
|
cd arm-mem
|
||||||
|
|
||||||
[[ $CARCH == "armv7h" ]] && CFLAGS+=" -fPIC"
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
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/"
|
install -Dm644 ../LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgbase}
|
||||||
cp libarmmem.so "${pkgdir}/usr/lib/"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue