summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2018-10-26 18:27:45 +0000
committerDaniel Bermond2018-10-26 18:38:40 +0000
commit4c65b26600331b27f24b33840da7296a2587de60 (patch)
tree398d5c8f95ada949167c6b14f23f2a5d9c5b7093
parenta3f22de4c67795af55cfd5e75bf0137a0af7ffa3 (diff)
downloadaur-4c65b26600331b27f24b33840da7296a2587de60.tar.gz
Fixes
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f6614e32508..eef36d9c908 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = fxdiv-git
pkgdesc = Header-only library for division via fixed-point multiplication by inverse (git version)
pkgver = r51.811b482
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Maratyszcza/FXdiv/
arch = any
license = MIT
makedepends = git
+ provides = fxdiv
+ conflicts = fxdiv
source = fxdiv-git::git+https://github.com/Maratyszcza/FXdiv.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 124dd6fd9bc..7456303d21d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=fxdiv-git
pkgver=r51.811b482
-pkgrel=1
+pkgrel=2
pkgdesc='Header-only library for division via fixed-point multiplication by inverse (git version)'
arch=('any')
url='https://github.com/Maratyszcza/FXdiv/'
@@ -18,6 +18,8 @@ makedepends=('git')
# AUR:
# 'confu2-git'
#)
+provides=('fxdiv')
+conflicts=('fxdiv')
source=("$pkgname"::'git+https://github.com/Maratyszcza/FXdiv.git')
sha256sums=('SKIP')
@@ -49,11 +51,8 @@ pkgver() {
package() {
cd "${pkgname}"
- # directories creation
+ # headers
mkdir -p "${pkgdir}/usr/include"
- mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
-
- # include
install -D -m644 include/*.h "${pkgdir}/usr/include"
# license