Compare commits

..

No commits in common. "13b4ae0b755f229bf2425f6354f612f0ffe59bd4" and "4d4e46a7a9b120aa5a7013dcd849bf0c7c798d28" have entirely different histories.

2 changed files with 30 additions and 74 deletions

View file

@ -1,18 +1,13 @@
pkgbase = open62541
pkgdesc = An open source and free implementation of OPC Unified Architecture written in the common subset of the C99 and C++98 languages.
pkgver = v1.4.12_r23_g7adf88dc3
pkgbase = pkgbase
pkgdesc = Refreshed new Adwaita theme with creamy colors and minor changes.
pkgver = 0.1
pkgrel = 1
url = http://open62541.org/
arch = any
license = MPL-2.0
makedepends = cmake
makedepends = git
makedepends = python
optdepends = openssl: OpenSSL encryption backend (set UA_ENABLE_ENCRYPTION=OPENSSL on environment variable OPEN62541_CMAKE_FLAGS)
optdepends = mbedtls: mbed TLS encryption backend (set UA_ENABLE_ENCRYPTION=MBEDTLS on environment variable OPEN62541_CMAKE_FLAGS)
optdepends = graphviz: For document generation
source = git+https://github.com/open62541/open62541.git#branch=1.4
md5sums = SKIP
url = https://github.com/murat-cileli/adwaita-creamy
arch = x86_64
license = MIT
provides = adwaita-creamy
source = git+https://github.com/murat-cileli/adwaita-creamy.git
sha256sums = SKIP
pkgname = open62541
pkgname = adwaita-creamy

View file

@ -1,67 +1,28 @@
# Maintainer: qwjyh <urataw421@gmail.com>
# Contributor: open62541 Team <open62541-core@googlegroups.com>
# Contributor: Samega7Cattac <sameg7acattac@gmail.com>
branch=1.4
pkgname=open62541
pkgver=v1.4.12_r23_g7adf88dc3
pkgrel=1
pkgdesc="An open source and free implementation of OPC Unified Architecture written in the common subset of the C99 and C++98 languages."
arch=('any')
url="http://open62541.org/"
license=('MPL-2.0')
makedepends=('cmake'
'git'
'python')
optdepends=('openssl: OpenSSL encryption backend (set UA_ENABLE_ENCRYPTION=OPENSSL on environment variable OPEN62541_CMAKE_FLAGS)'
'mbedtls: mbed TLS encryption backend (set UA_ENABLE_ENCRYPTION=MBEDTLS on environment variable OPEN62541_CMAKE_FLAGS)'
'graphviz: For document generation')
source=("git+https://github.com/open62541/open62541.git#branch=$branch")
md5sums=('SKIP')
sha256sums=('SKIP')
# Maintainer: Murat Çileli <murat.cileli@gmail.com>
prepare() {
# Install the libraries to lib instead of lib64
# Install to /usr/ instead of /usr/local/
OPEN62541_CMAKE_FLAGS_DEFAULT=\
"-DBUILD_SHARED_LIBS=ON"\
" -DUA_NAMESPACE_ZERO=FULL"\
" -DUA_ENABLE_AMALGAMATION=OFF"\
" -DCMAKE_BUILD_TYPE=RelWithDebInfo"\
" -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/"\
" -DCMAKE_INSTALL_LIBDIR=$pkgdir/usr/lib/"
pkgbase="pkgbase"
pkgname="adwaita-creamy"
pkgver="0.1"
pkgrel="1"
pkgdesc="Refreshed new Adwaita theme with creamy colors and minor changes. "
arch=("x86_64")
license=("MIT")
url="https://github.com/murat-cileli/adwaita-creamy"
makedepends=()
provides=("adwaita-creamy")
# OPEN62541_CMAKE_FLAGS is an environment variable which can be
# set in order to specify custom compilation flags for open62541.
# This allows integrating further features. Please review the wiki
# for more information.
OPEN62541_CMAKE_FLAGS="$OPEN62541_CMAKE_FLAGS_DEFAULT $OPEN62541_CMAKE_FLAGS"
cd "$srcdir/$pkgname"
git submodule init
git config submodule.UA-Nodeset.url "$srcdir/UA-Nodeset"
git config submodule.mdnsd "$srcdir/mdnsd"
git submodule update
}
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/_/g'
}
source=("git+https://github.com/murat-cileli/adwaita-creamy.git")
sha256sums=("SKIP")
build() {
cd "$srcdir/$pkgname"
mkdir -p build
cd build
cmake $OPEN62541_CMAKE_FLAGS ..
make
cd "${pkgname}"
mkdir -p ~/.themes/adwaita-creamy
cp gtk-2.0 ~/.themes/adwaita-creamy/ -R
cp gtk-3.0 ~/.themes/adwaita-creamy/ -R
cp index.theme ~/.themes/adwaita-creamy/
}
package() {
cd "$srcdir/$pkgname/build"
make install
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
echo "Package"
}