summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorlilac2019-01-14 04:01:24 +0800
committerlilac2019-01-14 04:01:24 +0800
commitd408073b42857cf31086f1814dff2f98183c5444 (patch)
treea1478772227d64be235319c99b847081e5af4d27 /PKGBUILD
parentb5e2781b037f3ae9094693a4998def501fb107ba (diff)
downloadaur-d408073b42857cf31086f1814dff2f98183c5444.tar.gz
update by lilac
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6225396fdde..d544b45da48 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"
}