summaryrefslogblamecommitdiff
path: root/system/gettext-tiny/APKBUILD
blob: 4a6d253d67c4bb29081c27c1ee090c3c3a5696eb (plain) (tree)
1
2
3
4
5



                                                  
        








                                                         
                                                                                


                                      


                      
                                     






                                                  
                                                                                                                                                                       
                                                                                                                                                                
                                                                                                                                                              
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=gettext-tiny
pkgver=0.2.0
pkgrel=3
pkgdesc="An internationalisation and localisation system"
url="https://github.com/sabotage-linux/gettext-tiny"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends="!gettext"
depends_dev="!gettext-dev"
install=""
subpackages="$pkgname-dev"
source="http://ftp.barfooze.de/pub/sabotage/tarballs/gettext-tiny-$pkgver.tar.xz
	cheap-hack-for-autopoint.patch
	stop-doing-macro-crap.patch
	"

build() {
	cd "$builddir"
	make LIBINTL=MUSL prefix=/usr
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" prefix=/usr install
}

sha512sums="4d8d9d02042adf023bfd2502fa7598f9b16ef2e03dd3d39fd3ba36f1be1d884d1b891600d9263e11948e3979909ea810a1d1b8cefc7e522feda8b422a1107a2e  gettext-tiny-0.2.0.tar.xz
ffb10a0ee12acb843d94f160ae0f508cdd6e20a51a3207647ed312da4261247dcf0f16b7b5536b92c62fc0c274cf8ecc2de978fe936201d26d955b9723b1e1ea  cheap-hack-for-autopoint.patch
d2a1a6b1f135c25172cf98dfed64739ff85f6016a31c3ce028b3a7aa72de0b55c1f9a54c5ba2c58817f5222c3d2a5bc3d03ec9058ae5fbae2c798df9227a4e52  stop-doing-macro-crap.patch"