aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-02-13 16:13:21 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-02-13 16:11:37 +0100
commit054eae4027ddd9e252efb690e2b350139ee61621 (patch)
treef8935d6316dde2474f2259ab76b0faed57855daf /main
parent33d653d8ed3b8e2514b852063522dc2a8a9f4392 (diff)
downloadaports-054eae4027ddd9e252efb690e2b350139ee61621.tar.bz2
aports-054eae4027ddd9e252efb690e2b350139ee61621.tar.xz
main/postgresql: replace custom _submv with amove
Diffstat (limited to 'main')
-rw-r--r--main/postgresql/APKBUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index d38b0200d9..69c8a45392 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -130,7 +130,7 @@ package() {
dev() {
default_dev
- _submv usr/bin/pg_config \
+ amove usr/bin/pg_config \
usr/bin/ecpg \
usr/lib/postgresql/pgxs
}
@@ -139,7 +139,7 @@ libpq() {
pkgdesc="PostgreSQL libraries"
depends=""
- _submv usr/lib/libpq.so.*
+ amove usr/lib/libpq.so.*
}
libs() {
@@ -194,7 +194,7 @@ pltcl() {
pkgdesc="PL/Tcl procedural language for PostgreSQL"
depends="pgtcl"
- _submv usr/lib/postgresql/pltcl.so \
+ amove usr/lib/postgresql/pltcl.so \
usr/share/postgresql/extension/pltcl*
install -m 644 "$srcdir"/pltcl_create_tables.sql \
@@ -205,7 +205,7 @@ plperl() {
pkgdesc="PL/Perl procedural language for PostgreSQL"
depends=""
- _submv usr/lib/postgresql/plperl.so \
+ amove usr/lib/postgresql/plperl.so \
usr/share/postgresql/extension/plperl*
}
@@ -220,7 +220,7 @@ plpython3() {
pkgdesc="PL/Python3 procedural language for PostgreSQL"
depends="python3"
- _submv usr/lib/postgresql/plpython3.so \
+ amove usr/lib/postgresql/plpython3.so \
usr/share/postgresql/extension/plpython*
}
@@ -257,13 +257,6 @@ _run_tests() {
}
}
-_submv() {
- local path; for path in "$@"; do
- mkdir -p "$subpkgdir/${path%/*}"
- mv "$pkgdir"/$path "$subpkgdir"/${path%/*}/
- done
-}
-
sha512sums="f45b1762fd60b6f7419305d108b7fc521e3a7afa833d3aacccba814465baf40d19f57ff9bf2909d726c4c94a1cd99a39f1aa8e45fd0364cdedbcbed36ff48caf postgresql-12.1.tar.bz2
1f8e7dc58f5b0a12427cf2fd904ffa898a34f23f3332c8382b94e0d991c007289e7913a69e04498f3d93fc5701855796c207b4b1cc4a0b366f586050124d7fcc initdb.patch
5f9d8bb4957194069d01af8ab3abc6d4d83a7e7f8bd7ebe1caae5361d621a3e58f91b14b952958138a794e0a80bc154fbb7e3e78d211e2a95b9b7901335de854 perl-rpath.patch