summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-09-18 18:28:48 -0400
committerVincent Grande2020-09-18 18:28:48 -0400
commit3b7926b7824604cd05c0c9fe568b322277095032 (patch)
tree2a3f564612c606111488fec4c311c034f9915400
parent72ea6242919e52dfbfde4e66c2ee80e7d6a91931 (diff)
downloadaur-3b7926b7824604cd05c0c9fe568b322277095032.tar.gz
fix
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 10 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 43e1443d633..f9c1238a52f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,7 +13,7 @@ pkgbase = lib32-eudev-git
makedepends = lib32-kmod
depends = lib32-glib2
depends = lib32-glibc
- provides = lib32-udev=243
+ provides = lib32-udev=243git
provides = libudev.so
provides = lib32-libeudev
provides = lib32-eudev
diff --git a/PKGBUILD b/PKGBUILD
index 1e104e3ac3f..718166a30d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=lib32-eudev-git
pkgver=3.2.9
pkgrel=1
-udevver=243
+udevver=243git
pkgdesc="The userspace dev tools (udev) forked by Gentoo (32-bit)"
arch=('x86_64')
url="https://dev.gentoo.org/~blueness/eudev"
@@ -34,19 +34,25 @@ conflicts=(
options=(!makeflags !libtool)
+pkgver() {
+ cd eudev
+ git describe --tags | sed 's/-/+/g'
+}
+
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
- cd "${srcdir}/eudev-${pkgver}"
+ cd eudev
if [ -f "Makefile" ];then
msg2 "Cleaning up..."
make clean
fi
+ ./autogen.sh
./configure \
--prefix=/usr \
--with-rootprefix=/usr \
@@ -61,7 +67,7 @@ build() {
package() {
- cd "${srcdir}/eudev-${pkgver}"
+ cd eudev
make DESTDIR="${pkgdir}" -C src/libudev install