Compare commits
10 commits
4d4e46a7a9
...
13b4ae0b75
Author | SHA1 | Date | |
---|---|---|---|
13b4ae0b75 | |||
|
d3afb570b1 | ||
|
8fe37b3cfd | ||
|
5e7024ba94 | ||
|
4b0013e352 | ||
|
7c30790cfb | ||
|
ce8c30e9c6 | ||
|
ff2ef33147 | ||
|
5c30b13289 | ||
|
e5e674ede7 |
2 changed files with 74 additions and 30 deletions
25
.SRCINFO
25
.SRCINFO
|
@ -1,13 +1,18 @@
|
|||
pkgbase = pkgbase
|
||||
pkgdesc = Refreshed new Adwaita theme with creamy colors and minor changes.
|
||||
pkgver = 0.1
|
||||
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
|
||||
pkgrel = 1
|
||||
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
|
||||
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
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = adwaita-creamy
|
||||
|
||||
pkgname = open62541
|
||||
|
|
79
PKGBUILD
79
PKGBUILD
|
@ -1,28 +1,67 @@
|
|||
# Maintainer: Murat Çileli <murat.cileli@gmail.com>
|
||||
# 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')
|
||||
|
||||
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")
|
||||
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/"
|
||||
|
||||
source=("git+https://github.com/murat-cileli/adwaita-creamy.git")
|
||||
sha256sums=("SKIP")
|
||||
# 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'
|
||||
}
|
||||
|
||||
build() {
|
||||
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/
|
||||
cd "$srcdir/$pkgname"
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake $OPEN62541_CMAKE_FLAGS ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
echo "Package"
|
||||
}
|
||||
cd "$srcdir/$pkgname/build"
|
||||
|
||||
make install
|
||||
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue