Skip to content
Permalink
Browse files
astyle 3.2.1
pyzmq 25.0.2, moved to python build
  • Loading branch information
demmm committed Apr 5, 2023
1 parent effccb7 commit 30930a8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
@@ -1,18 +1,18 @@

pkgname=astyle
pkgver=3.1
_pkgver=3.1.0
pkgrel=3
pkgver=3.2.1
_pkgver=3.2
pkgrel=1
pkgdesc="Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages."
arch=('x86_64')
url="https://astyle.sourceforge.net/"
makedepends=('cmake')
license=('LGPL')
source=("https://downloads.sourceforge.net/sourceforge/astyle/${pkgname}_${pkgver}_linux.tar.gz")
md5sums=('7712622f62661b1d8cb1062d7fedc390')
source=("https://sourceforge.net/projects/astyle/files/astyle/astyle%20${_pkgver}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('9c29ef02c326ce423074e66395ad19f6')

build() {
cmake -B build -S ${pkgname} \
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
#-DBUILD_SHARED_LIBS=1
@@ -1,20 +1,27 @@

pkgname=pyzmq
pkgver=25.0.0
pkgver=25.0.2
pkgrel=1
pkgdesc="Python bindings for ØMQ, a lightweight and fast messaging implementation."
arch=('x86_64')
url="https://www.zeromq.org/bindings:python"
license=('LGPL')
depends=('zeromq' 'python3')
makedepends=('python3-cython' 'python3-setuptools')
makedepends=('python3-cython' 'python3-build' 'python3-installer' 'python3-setuptools' 'python3-wheel')
source=("https://files.pythonhosted.org/packages/source/p/pyzmq/${pkgname}-${pkgver}.tar.gz")
sha256sums=('f330a1a2c7f89fd4b0aa4dcb7bf50243bf1c8da9a2f1efc31daf57a2046b31f2')
sha256sums=('6b8c1bbb70e868dc88801aa532cae6bd4e3b5233784692b786f17ad2962e5149')

build() {
cd ${pkgname}-${pkgver}

python3 -m build -nw
}

package() {
cd ${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}

python3 setup.py install --root=${pkgdir} --optimize=0
python3 -m installer --destdir=${pkgdir} dist/*.whl
install -Dm644 LICENSE.LESSER ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}


0 comments on commit 30930a8

Please sign in to comment.