summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6225396fddef..d544b45da48d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=macports-base
pkgver=2.5.4
-pkgrel=2
+pkgrel=4
epoch=1
pkgdesc='The MacPorts command-line client'
url='https://www.macports.org/'
arch=('i686' 'x86_64')
license=('BSD')
-depends=('curl' 'openssl' 'sqlite')
+depends=('curl' 'openssl' 'sqlite' 'libreadline.so')
# tcl: MacPorts comes with its own vendored tclsh, while a system interpreter
# is still needed to build tcllib
makedepends=('tcl' 'nmtree')
@@ -45,5 +45,8 @@ package() {
cd MacPorts-$pkgver
make DESTDIR="$pkgdir" install
+ # makepkg only looks for executable files for sodepends handling
+ find "$pkgdir"/opt/local -name '*.so' -exec chmod +x {} \;
+
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}