blob: f7370a9347d4b4ce99e96e406199311ba5f21dea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
pkgname=mowitz
_pkgname=Mowitz
pkgver=0.3.1
pkgrel=4
pkgdesc='"More Widgets" library'
arch=("x86_64")
url="https://siag.nu/pub/mowitz/"
license=("GPL" "LGPL" "MIT")
depends=("libxpm" "libxaw" "nextaw")
source=("https://siag.nu/pub/mowitz/$_pkgname-$pkgver.tar.gz"
"mowitz.patch")
sha256sums=("6a4a9b2342becf0dd8ecd65d87ac5f88beee84464d0553e1223b201d94b3dfff"
"6c625233d8aa5f6a0ed5f55b0b0e6983ff6e6ec4be3cb290289bb13081f79e20")
prepare() {
cd "$_pkgname-$pkgver"
patch -p1 < ../mowitz.patch
}
build() {
cd "$_pkgname-$pkgver"
./configure --prefix=/usr
make
}
check() {
cd "$_pkgname-$pkgver"
make -k check
}
package() {
cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
mkdir ${pkgdir}/usr/share/doc
mv ${pkgdir}/usr/doc/Mowitz ${pkgdir}/usr/share/doc
rmdir ${pkgdir}/usr/doc
}
|