mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/mimetic to 0.9.8-3
This commit is contained in:
parent
58042d454e
commit
7916b80bca
1 changed files with 7 additions and 3 deletions
|
@ -6,18 +6,22 @@
|
||||||
|
|
||||||
pkgname=mimetic
|
pkgname=mimetic
|
||||||
pkgver=0.9.8
|
pkgver=0.9.8
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="A free, MIT licensed, Email library (MIME) written in C++"
|
pkgdesc='A free, MIT licensed, Email library (MIME) written in C++'
|
||||||
url="http://www.codesink.org/mimetic_mime_library.html"
|
url="http://www.codesink.org/mimetic_mime_library.html"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=(MIT)
|
license=(MIT)
|
||||||
depends=(gcc-libs)
|
depends=(gcc-libs)
|
||||||
source=(http://www.codesink.org/download/$pkgname-$pkgver.tar.gz
|
source=(http://www.codesink.org/download/$pkgname-$pkgver.tar.gz
|
||||||
|
https://github.com/tat/mimetic/commit/bf84940f.patch
|
||||||
signed-char.patch)
|
signed-char.patch)
|
||||||
sha256sums=('3a07d68d125f5e132949b078c7275d5eb0078dd649079bd510dd12b969096700'
|
sha256sums=('3a07d68d125f5e132949b078c7275d5eb0078dd649079bd510dd12b969096700'
|
||||||
|
'877406aff5b11042df9e036ed9e58dcc3e2ce54b47f263fd31886a9c16d7a0ea'
|
||||||
'fc7cad20839fa5ea50b9189eed9a628470051ad594a55b228c302947eb6f91b2')
|
'fc7cad20839fa5ea50b9189eed9a628470051ad594a55b228c302947eb6f91b2')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
patch -d $pkgname-$pkgver -p1 < bf84940f.patch # Fix build
|
||||||
|
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
patch -p1 -i ../signed-char.patch
|
patch -p1 -i ../signed-char.patch
|
||||||
|
@ -25,8 +29,8 @@ prepare() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue