pkgname: openmotif pkgver: '2.3.8' pkgrel: '2' pkgdesc: Open Motif url: 'https://sourceforge.net/projects/motif/' arch: x86_64 depends: [] makedepends: - flex - xorgproto - xorg-xbitmaps - xorg-libxp - xorg-libxft - xorg-libxmu - libpng - libjpeg-turbo source: - 'https://sourceforge.net/projects/motif/files/Motif%20${pkgver}%20Source%20Code/motif-${pkgver}.tar.gz' sha256sums: - 859b723666eeac7df018209d66045c9853b50b4218cecadb794e2359619ebce7 build: | cd motif-${pkgver} export CFLAGS+=" \ -Wno-error=implicit-function-declaration \ -Wno-error=format-security" ./configure --prefix=/usr sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make make DESTDIR=${PKGDIR} install package: | true