12345678910111213141516171819202122232425262728293031323334 |
- [paket]
- tanim = Dde-daemon için Golang bağlamaları
- paketci = Cihan_Alkan
- grup = deepin
- url = https://github.com/linuxdeepin/dde-api
- [kaynak]
- 1 = https://github.com/linuxdeepin/dde-api/archive/$surum.tar.gz::$isim-$surum.tar.gz
- 2 = https://github.com/archlinux/svntogit-community/raw/packages/deepin-api/trunk/deepin-api.sysusers
- [sha1]
- #1 = SKIP
- [derle]
- betik = export GOPATH="$SRC/build:/usr/share/gocode"
- betik = mkdir -p build/src/pkg.deepin.io/dde/api
- betik = cp -a dde-api-$surum/* build/src/pkg.deepin.io/dde/api/
- betik = go get github.com/cryptix/wav github.com/godbus/dbus github.com/fsnotify/fsnotify
- betik = go get github.com/disintegration/imaging github.com/fogleman/gg github.com/mattn/go-sqlite3 github.com/gosexy/gettext github.com/rickb777/date
- betik = export CGO_CPPFLAGS="${CPPFLAGS}"
- betik = export CGO_CFLAGS="${CFLAGS}"
- betik = export CGO_CXXFLAGS="${CXXFLAGS}"
- betik = export CGO_LDFLAGS="${LDFLAGS}"
- betik = export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- betik = cd dde-api-$surum
- betik = make
- [pakur]
- betik = cd dde-api-$surum
- betik = make DESTDIR="$PKG" install
- betik = install -Dm644 /sources/deepin-api.sysusers "$PKG"/usr/lib/sysusers.d/deepin-api.conf
|