Mypaint Brushes: add 2.0 and update 1.3 src repo to official (#4752)
* Mypaint Brushes: add 2.0 and update 1.3 src repo to official * brushes don't require libmypaint
This commit is contained in:
@@ -7,12 +7,12 @@ pkgver=1.3.0
|
||||
pkgrel=2
|
||||
pkgdesc="Brushes for MyPaint (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://github.com/Jehan/mypaint-brushes"
|
||||
url="https://github.com/mypaint/mypaint-brushes"
|
||||
license=("ISC")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc")
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-libmypaint")
|
||||
options=('strip' '!debug')
|
||||
source=(${_realname}-${pkgver}.tar.gz::https://github.com/Jehan/mypaint-brushes/archive/v${pkgver}.tar.gz)
|
||||
source=(${_realname}-${pkgver}.tar.gz::https://github.com/mypaint/mypaint-brushes/archive/v${pkgver}.tar.gz)
|
||||
sha256sums=('704bb6420e65085acfd7a61d6050e96b0395c5eab078433f11406c355f16b214')
|
||||
noextract=(${_realname}-${pkgver}.tar.gz)
|
||||
|
||||
|
||||
44
mingw-w64-mypaint-brushes2/PKGBUILD
Normal file
44
mingw-w64-mypaint-brushes2/PKGBUILD
Normal file
@@ -0,0 +1,44 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=mypaint-brushes
|
||||
pkgbase=mingw-w64-${_realname}2
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}2"
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Brushes for MyPaint 2.0 (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://github.com/mypaint/mypaint-brushes"
|
||||
license=("ISC")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc")
|
||||
options=('strip' '!debug')
|
||||
source=(${_realname}-${pkgver}.tar.gz::https://github.com/mypaint/mypaint-brushes/archive/v${pkgver}.tar.gz)
|
||||
sha256sums=('a3bc82204345d2b401571604b43aaa068073aa1e7ba0fe866ebc1774cead1bb5')
|
||||
noextract=(${_realname}-${pkgver}.tar.gz)
|
||||
|
||||
prepare() {
|
||||
[[ -d ${srcdir}/${_realname}-${pkgver} ]] && rm -rf ${srcdir}/${_realname}-${pkgver}
|
||||
|
||||
tar --exclude=README -xzf ${_realname}-${pkgver}.tar.gz
|
||||
|
||||
cd ${_realname}-${pkgver}
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
[[ -d build-${MINGW_CHOST} ]] && rm -rf build-${MINGW_CHOST}
|
||||
mkdir -p build-${MINGW_CHOST} && cd build-${MINGW_CHOST}
|
||||
|
||||
"${srcdir}/${_realname}-${pkgver}"/configure \
|
||||
--build=${MINGW_CHOST} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--prefix=${MINGW_PREFIX}
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/build-${MINGW_CHOST}
|
||||
make -j1 DESTDIR="${pkgdir}" install
|
||||
install -Dm644 ${srcdir}/${_realname}-${pkgver}/Licenses.md "${pkgdir}"${MINGW_PREFIX}/share/licenses/${_realname}2/Licenses.md
|
||||
}
|
||||
Reference in New Issue
Block a user