diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/attr/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/attr/MAKEPKG')
| -rw-r--r-- | core/attr/MAKEPKG | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/core/attr/MAKEPKG b/core/attr/MAKEPKG new file mode 100644 index 0000000..8b86190 --- /dev/null +++ b/core/attr/MAKEPKG @@ -0,0 +1,45 @@ +#!/bin/mkpkg +# description: Extended attribute support library +# url: https://savannah.nongnu.org/projects/attr + +name=attr +version=2.6.0 +release=1 +depends=() +makedeps=() +source=(https://download.savannah.gnu.org/releases/attr/attr-$version.tar.xz) +sha256sums=( + "6c8a2148a7b85043b68492bce43316b0e2e214fc4e628c7ede078e76e216330b" +) + +patch() { + cd attr-$version + sed -i '1i #include <libgen.h>' tools/attr.c +} + +build() { + cd attr-$version + #export CFLAGS="$CFLAGS -D_GNU_SOURCE" + ./configure \ + --prefix=/ \ + --libdir=/lib \ + --includedir=/include \ + --bindir=/bin \ + --mandir=/usr/share/man \ + --disable-static \ + --disable-nls + + make + make DESTDIR=$PKG install + + # Remove docs + rm -rf $PKG/share + rm -rf $PKG/etc +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
