ports/opt (3.7): irssi: Pkgfile tweaks, no rebuild necessary
commit b2a48303be2c9f7a5a15767ee1f9af1c873f205e Author: Matt Housh <jaeger@crux.ninja> Date: Sat Jan 15 15:08:58 2022 -0600 irssi: Pkgfile tweaks, no rebuild necessary diff --git a/irssi/.signature b/irssi/.signature index 302157ff2..601c0a425 100644 --- a/irssi/.signature +++ b/irssi/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/U/uBQ2sk9fPm7DYd9iuzgIza5sTWIkKm6HD/bZzGu2OQMou4fm+4m8mAKCaAWuMzROrJCYrJVZkC1JqiK7yvQ0= -SHA256 (Pkgfile) = c9e7944bd5e448105855573a26f9ca8d94fa8a40f40315efb5131837c26b8d15 +RWSE3ohX2g5d/eT2XK4iOEjy4XPb57qAP0EMRJbGo8j8ToM/RFc/Tq48sNBBzOdVGQZcphon1RA6OKLD182b1/P0stG/L5vjBAI= +SHA256 (Pkgfile) = a5c45fb0dcb71e3daa2b9e1cf659fc1234abb45db7ef1c8e8a97d822877b8975 SHA256 (.footprint) = f0bfabe52acde2f43d7c0ce0b950656077214a5f42e55bf177ba0c5c3114713e SHA256 (irssi-1.2.3.tar.xz) = a647bfefed14d2221fa77b6edac594934dc672c4a560417b1abcbbc6b88d769f diff --git a/irssi/Pkgfile b/irssi/Pkgfile index c618064f6..e807a59c3 100644 --- a/irssi/Pkgfile +++ b/irssi/Pkgfile @@ -6,25 +6,19 @@ name=irssi version=1.2.3 release=1 -source=(https://github.com/irssi-import/irssi/releases/download/$version/$name-$vers...) +source=(https://github.com/$name/$name/releases/download/$version/$name-$version.tar...) build () { - cd $name-$version - - export CFLAGS+=" -Wno-deprecated-declarations" - - ./configure \ - --prefix=/usr \ - --with-proxy \ - --with-perl-lib=site - - make - make DESTDIR=$PKG install - - find $PKG \ - -name .packlist -or \ - -name perllocal.pod -or \ - -name '*.bs' -or \ - -name autosplit.ix | xargs rm - rm -rf $PKG/usr/{include,share/doc} + cd $name-$version + ./configure --prefix=/usr \ + --with-proxy \ + --with-perl-lib=site + make + make DESTDIR=$PKG install + find $PKG \( -name .packlist -or \ + -name perllocal.pod -or \ + -name '*.bs' -or \ + -name autosplit.ix \) \ + -delete + rm -rf $PKG/usr/{include,share/doc} }
participants (1)
-
crux@crux.nu