From 7f56bba425eeaa96231a665a7f0d823dbea98c4f Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 24 May 2020 05:49:48 +0000
Subject: attr: update to 2.4.48

---
 abs/core/attr/PKGBUILD | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/abs/core/attr/PKGBUILD b/abs/core/attr/PKGBUILD
index ae9b4f2..4252c6a 100644
--- a/abs/core/attr/PKGBUILD
+++ b/abs/core/attr/PKGBUILD
@@ -1,37 +1,37 @@
-# $Id$
 # Maintainer: Thomas Bächler <thomas@archlinux.org>
 
 pkgname=attr
-pkgver=2.4.47
-pkgrel=1
-pkgdesc="Extended attribute support library for ACL support"
-arch=('i686' 'x86_64')
-url="http://savannah.nongnu.org/projects/attr"
+pkgver=2.4.48
+pkgrel=3
+pkgdesc='Extended attribute support library for ACL support'
+arch=('x86_64')
+url='https://savannah.nongnu.org/projects/attr'
 license=('LGPL')
-depends=('glibc') 
+depends=('glibc')
 makedepends=('gettext')
 replaces=('xfsattr')
-provides=('xfsattr')
+provides=('xfsattr' 'libattr.so')
 conflicts=('xfsattr')
-source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.src.tar.gz"{,.sig})
-sha256sums=('25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859'
+backup=('etc/xattr.conf')
+validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34'  # Brandon Philips <brandon@ifup.co>
+              'B902B5271325F892AC251AD441633B9FE837F581') # Frysinger <vapier@gentoo.org>
+source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('5ead72b358ec709ed00bbf7a9eaef1654baad937c001c044fe8b74c57f5324e7'
             'SKIP')
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname-$pkgver
 
-  export INSTALL_USER=root INSTALL_GROUP=root
-  ./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
+  ./configure \
+    --libdir=/usr/lib \
+    --libexecdir=/usr/lib \
+    --prefix=/usr \
+    --sysconfdir=/etc
   make
 }
 
 package() {
-  make -C "$pkgname-$pkgver" DIST_ROOT="$pkgdir" install install-lib install-dev
+  cd $pkgname-$pkgver
 
-  # tidy up
-  rm -f "$pkgdir"/usr/lib/libattr.a
-  chmod 0755 "$pkgdir"/usr/lib/libattr.so.*.*.*
-
-  # remove conflicting manpages
-  rm -rf "$pkgdir"/usr/share/man/man2
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12

