remove soci

update waydroid-script-git
update rstudio-desktop
add python-inquirerpy
add python-pfzy
This commit is contained in:
bgme 2024-01-22 00:02:25 +08:00
parent 6bacae2cf6
commit ed347c664e
6 changed files with 36 additions and 72 deletions

View file

@ -0,0 +1,16 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
repo_depends:
- python-pfzy
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: python-inquirerpy

View file

@ -0,0 +1,13 @@
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: aur_pre_build
post_build: aur_post_build
update_on:
- source: aur
aur: python-pfzy

View file

@ -2,12 +2,7 @@ maintainers:
- github: yingziwu
email: i@bgme.me
repo_depends:
- soci
update_on_build:
- pkgbase: soci
build_prefix: extra-x86_64
build_prefix: archlinuxcn-x86_64
pre_build: aur_pre_build

View file

@ -1,47 +0,0 @@
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
# Contributor: Marcin (CTRL) Wieczorek <marcin@marcin.co>
# Contributor: Daniel Nagy <danielnagy at gmx de>
# Contributor: Mika Fischer <mika.fischer@zoopnet.de>
pkgname=soci
pkgver=4.0.3.r0.g438e3549
pkgrel=3
pkgdesc="Database access library for C++"
arch=('x86_64')
url="http://soci.sf.net"
license=('custom:boost')
depends=('postgresql-libs' 'sqlite3' 'unixodbc' 'boost-libs' 'mariadb-libs')
makedepends=('cmake' 'git' 'boost')
optdepends=('instantclient-basic: support for oracle databases'
'libmysqlclient: support for mysql databases'
'postgresql-libs: support for postgresql databases'
'sqlite3: support for sqlite databases'
'unixodbc: support for ODBC databases')
source=("git+https://github.com/SOCI/soci.git#branch=release/4.0")
sha1sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/; s/-/./g'
}
build() {
cmake -B build "${pkgname}" \
-DSOCI_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_CXX_FLAGS="-Wno-format-overflow" \
-DSOCI_CXX11=ON \
-Wno-dev
make -C build
}
package() {
make DESTDIR="${pkgdir}" -C build install
# For some reason -DLIBDIR=lib causes libsoci_empty.so to disappear
if [ -e "${pkgdir}/usr/lib64" ]; then
mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
fi
install -Dm0644 "${srcdir}/${pkgname}/LICENSE_1_0.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View file

@ -1,18 +0,0 @@
# import from archlinuxcn
# https://github.com/archlinuxcn/repo/tree/master/archlinuxcn/soci
maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- source: github
github: SOCI/soci
branch: release/4.0
- alias: boost

View file

@ -2,7 +2,10 @@ maintainers:
- github: yingziwu
email: i@bgme.me
build_prefix: extra-x86_64
build_prefix: archlinuxcn-x86_64
repo_depends:
- python-inquirerpy
pre_build_script: |
aur_pre_build()
@ -15,3 +18,5 @@ update_on:
aur: waydroid-script-git
- source: github
github: casualsnek/waydroid_script
- source: manual
manual: 1